Version

Search Results

PaperSize Property

Gets or sets the paper size for each printed page of the worksheet. Syntax Property Value The paper size for each printed page of the worksheet. Exceptions Exception Description System.ComponentModel.InvalidEnumArgumentException The assigned value is not defined in the PaperSize enumeration.

PrintAreas Property

Gets the collection of print areas in the Worksheet. Syntax

PrintErrors Property

Gets or sets the way error values of cells are printed. Syntax Property Value The way error values of cells are printed. Exceptions Exception Description System.ComponentModel.InvalidEnumArgumentException The assigned value is not defined in the PrintErrors enumeration. Remarks A cell can have an error value if it...

PrintGridlines Property

Gets or sets the value which indicates whether to print the worksheet gridlines. Syntax Property Value The value which indicates whether to print the worksheet gridlines.

PrintInBlackAndWhite Property

Gets or sets the value indicating whether the worksheet should be printed in black and white. Syntax Property Value The value indicating whether the worksheet should be printed in black and white.

PrintNotes Property

Gets or sets the way cell comments are printed. Syntax Property Value The way cell notes are printed. Exceptions Exception Description System.ComponentModel.InvalidEnumArgumentException The assigned value is not defined in the PrintNotes enumeration. Remarks If this is set to a value of PrintAsDisplayed, the comme...

PrintRowAndColumnHeaders Property

Gets or sets the value indicating whether to print row and column headers. Syntax Property Value The value indicating whether to print row and column headers. Remarks The row and column headers show the identifier of the row or column.

PropertyChanged Event (PrintOptions)

Occurs after a property value has changed Syntax Event Data The event handler receives an argument of type PropertyChangedEventArgs containing data related to this event. The following PropertyChangedEventArgs properties provide information specific to this event.Property Description PropertyName

Reset Method (PrintOptions)

Resets the print options to their default settings. Syntax Remarks The defaults used for each setting are the same defaults with which Microsoft Excel creates a blank worksheet.

Resolution Property

Gets or sets the horizontal print resolution in DPI. Syntax Property Value The horizontal print resolution in DPI. Exceptions Exception Description System.ArgumentOutOfRangeException The value assigned is outside the valid range of 0 and 65535.