EmailPreviewOptions

EmailPreviewOptions class

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

public class EmailPreviewOptions : PreviewOptions

Constructors

Name Description
EmailPreviewOptions(CreatePageStream) Initializes a new instance of the EmailPreviewOptions class causing the output stream to be closed.
EmailPreviewOptions(CreatePageStream, ReleasePageStream) Initializes a new instance of EmailPreviewOptions 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.
Resolution { get; set; } Gets or sets the resolution for the generated images, in dots per inch.
Width { get; set; } Gets or sets the page preview width.

Fields

Name Description
const DefaultResolution Default resolution in dots per inch.

See Also