PreviewOptions class
Leave feedback
On this page
Provides options to set requirements and stream delegates for preview generation.
Learn more
- Generate document preview: https://docs.groupdocs.com/display/metadatanet/Generate+document+preview
The PreviewOptions type exposes the following members:
| 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. |
| 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. |
- module
groupdocs.metadata.options
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.