PreviewOptions class

PreviewOptions class

Provides options to set requirements and stream delegates for preview generation.

Learn more

The PreviewOptions type exposes the following members:

Constructors

Constructor Description
init Initializes a new instance of the PreviewOptions class causing the output stream to be closed.
init Initializes a new instance of PreviewOptions class causing the output stream to be returned to the client for further use.

Properties

Property Description
cache_folder The cache folder.
create_page_stream The page stream creation delegate.
height The page preview height.
max_disk_space_for_cache The maximum available disk space for cache in bytes. The default value is 1073741824.
max_memory_for_cache The maximum available memory for cache in bytes.
page_numbers The page numbers to generate previews as a list of int.
preview_format The preview image format.
release_page_stream The page preview completion delegate.
resolution The page preview resolution.
width The page preview width.

See Also