PreviewOptions
Leave feedback
On this page
Provides options to sets requirements and stream delegates for preview generation.
public class PreviewOptions
| Name | Description |
|---|---|
| PreviewOptions(CreatePageStream) | Initializes a new instance of the PreviewOptions class causing the output stream to be closed. |
| PreviewOptions(CreatePageStream, ReleasePageStream) | Initializes a new instance of PreviewOptions class causing the output stream to be returned to the client for further use. |
| Name | Description |
|---|---|
| CreatePageStream { get; set; } | Gets or sets an instance of the page stream creation delegate. |
| Height { get; set; } | Gets or sets the page preview height. |
| PageNumbers { get; set; } | Gets or sets an array of page numbers to generate previews. |
| PreviewFormat { get; set; } | Gets or sets the preview image format. |
| ReleasePageStream { get; set; } | Gets or sets an instance of the page preview completion delegate. |
| Width { get; set; } | Gets or sets the page preview width. |
- namespace GroupDocs.Watermark.Options
- assembly GroupDocs.Watermark
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.