SpreadsheetPreviewOptions

SpreadsheetPreviewOptions class

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

public class SpreadsheetPreviewOptions : PreviewOptions

Constructors

Name Description
SpreadsheetPreviewOptions(CreatePageStream) Initializes a new instance of the SpreadsheetPreviewOptions class causing the output stream to be closed.
SpreadsheetPreviewOptions(CreatePageStream, ReleasePageStream) Initializes a new instance of SpreadsheetPreviewOptions 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.
OnlyDataArea { get; set; } Gets or sets the flag for rendering the data area only without headers, footers, margins.
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