ToImage

ToImage(Stream)

Render whole workbook as Tiff Image to stream.

public void ToImage(Stream stream)
Parameter Type Description
stream Stream the stream of the output image

See Also


ToImage(string)

Render whole workbook as Tiff Image to a file.

public void ToImage(string filename)
Parameter Type Description
filename String the filename of the output image

See Also


ToImage(int, string)

Render certain page to a file.

public void ToImage(int pageIndex, string fileName)
Parameter Type Description
pageIndex Int32 indicate which page is to be converted
fileName String filename of the output image

See Also


ToImage(int, Stream)

Render certain page to a stream.

public void ToImage(int pageIndex, Stream stream)
Parameter Type Description
pageIndex Int32 indicate which page is to be converted
stream Stream the stream of the output image

See Also


ToImage(int)

Render certain page to a Bitmap object.

public Bitmap ToImage(int pageIndex)
Parameter Type Description
pageIndex Int32 indicate which page is to be converted

Return Value

the bitmap object of the page

See Also