GeneratePreview

WordProcessingDocumentInfo.GeneratePreview method

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

public SvgImage GeneratePreview(int pageIndex)
Parameter Type Description
pageIndex Int32 0-based index of the desired page. Cannot be lesser then 0, cannot exceed the number of pages in this WordProcessing document.

Return Value

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

Exceptions

exception condition
ArgumentOutOfRangeException Specified pageIndex is lesser then 0 or bigger then the number of pages in this WordProcessing document

See Also