Version

Search Results

PrintNotes Enumeration

Represents the various ways to print cell notes. Syntax Members Member Description DontPrint Cell notes are not printed. PrintAsDisplayed Cell notes are printed as they are shown on the worksheet. With this option, cell notes will only appear in the printed worksheet if they are displayed on the worksheet in Micro...

PrintOptions Class

Class which exposes the various print options available for a worksheet which can be saved with both a worksheet and a custom view. Syntax Remarks This class provides a way to control how a worksheet is printed.

PrintOptions Class Events

For a list of all members of this type, see PrintOptions members. Public Events Name Description PropertyChanged Occurs after a property value has changed Top

PrintOptions Class Members

Public Properties Public Methods Public Events

PrintOptions Class Properties

Public Properties

AlignHeadersAndFootersWithMargins Property

Gets or sets the value indicating whether to align header and footer margins with page margins. Syntax

BottomMargin Property

Gets or sets the margin at the bottom of each printed page of the worksheet, specified in inches. Syntax Property Value The margin at the bottom of each printed page of the worksheet, specified in inches. Exceptions Exception Description System.ArgumentOutOfRangeException The assigned value is outside the valid ma...

CenterHorizontally Property

Gets or sets the value indicating whether the printed pages should be centered horizontally. Syntax Property Value The value indicating whether the printed pages should be centered horizontally.

CenterVertically Property

Gets or sets the value indicating whether the printed pages should be centered vertically. Syntax Property Value The value indicating whether the printed pages should be centered vertically.