DiagramPreviewOptions

DiagramPreviewOptions class

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

public class DiagramPreviewOptions : PreviewOptions

Constructors

Name Description
DiagramPreviewOptions(CreatePageStream) Initializes a new instance of the DiagramPreviewOptions class causing the output stream to be closed.
DiagramPreviewOptions(CreatePageStream, ReleasePageStream) Initializes a new instance of DiagramPreviewOptions 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.
HighQualityRendering { get; set; } Gets or sets the flag for high quality rendering.
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