Message-ID: <313650810.9845.1711704966801.JavaMail.web05$@web05> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_9844_1217696960.1711704966785" ------=_Part_9844_1217696960.1711704966785 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, int? width, int? height)=20
Public Static Sub SaveImage(ByVal filePath As St= ring, ByVal imageFormat As ImageFormat, ByVal width As int?, ByVal height A= s int?)=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); Chart chartOne=3D WB[0].Charts[0]; =20 chartOne.SaveImage("Path/filename.png", System.Drawing= .Imaging.ImageFormat.Png, 240, 180);=20
=09 Dim oExcelApp As New ExcelApplication() =20 Dim wb As Workbook =3D oExcelApp.Create(FileFormat.Xlsx)=20 Dim chartOne As Chart =3D WB[0].Charts[0] =20 chartOne.SaveImage("Path/filename.png", System.Drawing= .Imaging.ImageFormat.Png, 240, 180)=20