IPreviewable

public interface IPreviewable

Defines methods to create preview of the document.

Methods

Method Description
generatePreview(PreviewOptions previewOptions) Generates preview images of specific pages in a given image format.
getDocumentInfo() Gets the general information about the document - size, page count, etc.

generatePreview(PreviewOptions previewOptions)

public abstract void generatePreview(PreviewOptions previewOptions)

Generates preview images of specific pages in a given image format.

Parameters:

Parameter Type Description
previewOptions PreviewOptions Image properties and page range settings

getDocumentInfo()

public abstract IDocumentInfo getDocumentInfo()

Gets the general information about the document - size, page count, etc.

Returns: IDocumentInfo - An instance of IDocumentInfo