Message-ID: <954210881.8573.1711650563183.JavaMail.web05$@web05> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_8572_866614405.1711650563183" ------=_Part_8572_866614405.1711650563183 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
public static void SaveImage(String filePath, = ImageFormat imageFormat)=20
Public Static Sub SaveImage(ByVal filePath As St= ring, ByVal imageFormat As ImageFormat)=20
string
representing the filepath you would like to save t=
he image to.=20
ExcelApplication xla =3D new ExcelApplication(); Workbook WB=3D xla.Create(FileFormat.Xlsx); Area areaOne=3D WB[0].CreateArea["A1:C5"]; =20 areaOne.SaveImage("Path/filename.png", System.Drawing.= Imaging.ImageFormat.Png);=20
=09 Dim oExcelApp As New ExcelApplication() =20 Dim wb As Workbook =3D oExcelApp.Create(FileFormat.Xlsx)=20 Dim areaOne As Area =3D WB[0].CreateArea["A1:C5"] = =20 areaOne.SaveImage("Path/filename.png"), System.Drawing= .Imaging.ImageFormat.Png)=20