Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Description

Writes an Area as an image with the specified dimensions in pixels to the specified stream.
C#
vb.net

Parameters

stream
The output stream to write to. This stream must be open and writable. ExcelWriter will not close this stream; the calling program is responsible for closing the stream and releasing the resource.
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