1. GroupDocs.Watermark
  2. /
  3. GroupDocs.Watermark for .NET
  4. /
  5. GroupDocs.Watermark.Options
  6. /
  7. PreviewOptions

PreviewOptions

PreviewOptions class

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

public class PreviewOptions

Constructors

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.

Properties

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.

See Also