Skip to end of metadata
Go to start of metadata

Introduced in build 9.1

Description

Saves an Area as a specified image format with specific dimensions in pixels at a specified file path.
C#
vb.net

Parameters

filePath
A string representing the filepath you would like to save the image to.
ImageFormat
The file format ExcelWriter will save the area as. Supported file types include GIF, JPEG, BMP, PNG, EMF, TIFF, and WMF
width
The desired width of the image in pixels
height
The desired height of the image in pixels

Exceptions

System.Exception
If there is a problem creating, opening, or writing to the file specified, or reading from the Area object.

Examples

C#
vb.net
  • No labels