get_page_preview method

get_page_preview

Generates a document page preview.

Returns

An instance of Stream containing an image of the document page; null if the page preview generation isn’t supported.

def get_page_preview(self, page_index):
    ...
Parameter Type Description
page_index int The zero-based page index.

get_page_preview

Generates a document page preview using customization options.

Returns

An instance of Stream containing an image of the document page; null if the page preview generation isn’t supported.

def get_page_preview(self, page_index, options):
    ...
Parameter Type Description
page_index int The zero-based page index.
options groupdocs.parser.options.PagePreviewOptions The options to customize the preview generation.

See Also