Class PreviewOptions

PreviewOptions class

Represents document preview options.

public class PreviewOptions

Constructors

Name Description
PreviewOptions(CreatePageStream) Initializes a new instance of PreviewOptions class.
PreviewOptions(CreatePageStream, ReleasePageStream) Initializes a new instance of PreviewOptions class.

Properties

Name Description
CreatePageStream { get; set; } Delegate which defines method to create output page preview stream.
Height { get; set; } Page preview height.
PageNumbers { get; set; } Page numbers that will be previewed.
PreviewFormat { get; set; } Preview image format.
ReleasePageStream { get; set; } Delegate which defines method to remove output page preview stream
RenderAnnotations { get; set; } The property that controls whether annotations will be generated on the preview. Default State - true.
RenderComments { get; set; } The property that controls whether comments will be generated on the preview. Default State - true. Now Supported only in MS Word document
Resolution { get; set; } Gets or sets the resolution for generated images, in dots per inch.
Width { get; set; } Page preview width.
WorksheetColumns { get; set; } Worksheet columns to generate. Generation proceeds in the specified order.

See Also