Skip to main content

SpreadsheetPrintOptions Members

Provides access to options that control how the printed document is generated and previewed.

Constructors

Name Description
SpreadsheetPrintOptions() Initializes a new instance of the SpreadsheetPrintOptions class with the default settings.

Properties

Name Description
PrintContent Specifies spreadsheet content to print/display within the Print Preview.
PrintPlaceholders Gets or sets whether to print placeholders for unsupported document elements (slicers, SmartArt graphics). Inherited from WorkbookPrintOptions.
PrintSheetVisibility Gets or sets the visibility of worksheets to be printed. Inherited from WorkbookPrintOptions.
RenderMode Gets or sets the render mode for the printed document. Inherited from WorkbookPrintOptions.
RibbonPreview Gets or sets a value that specifies whether the Ribbon Print Preview window should be displayed instead of the standard Print Preview form with a Bar UI.
ShowMarginsWarning Gets or sets whether to show an error message when page margins are set outside the printable area. Inherited from WorkbookPrintOptions.

Methods

Name Description
Assign(BaseOptions) Copies all settings from the options object passed as a parameter. Inherited from BaseOptions.
BeginUpdate() Locks the BaseOptions object by disallowing visual updates until the EndUpdate or CancelUpdate method is called. Inherited from BaseOptions.
CancelUpdate() Unlocks the BaseOptions object after it has been locked by the BeginUpdate method, without causing an immediate visual update. Inherited from BaseOptions.
EndUpdate() Unlocks the BaseOptions object after a call to the BeginUpdate method and causes an immediate visual update. Inherited from BaseOptions.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string representing the currently enabled options. Inherited from BaseOptions.
See Also