Skip to main content

WorkbookPrintOptions Members

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

Constructors

Name Description
WorkbookPrintOptions() Initializes a new instance of the WorkbookPrintOptions class.

Properties

Name Description
PrintPlaceholders Gets or sets whether to print placeholders for unsupported document elements (slicers, SmartArt graphics).
PrintSheetVisibility Gets or sets the visibility of worksheets to be printed.
RenderMode Gets or sets the render mode for the printed document.
ShowMarginsWarning Gets or sets whether to show an error message when page margins are set outside the printable area.

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