GeneratePreview

SpreadsheetDocumentInfo.GeneratePreview method

Generates and returns a preview of the selected worksheet in a form of SVG image

public SvgImage GeneratePreview(int worksheetIndex)
Parameter Type Description
worksheetIndex Int32 0-based index of the desired worksheet. Cannot be lesser then 0, cannot exceed the number of worksheets in this spreadsheet.

Return Value

SVG image as the non-null instance of the SvgImage class

Exceptions

exception condition
ArgumentOutOfRangeException Specified worksheetIndex is lesser then 0 or bigger then the number of worksheets in this spreadsheet

See Also