Inserts a horizontal page break above the specified row. Syntax Parameters row The row at which to insert the page break. Exceptions Exception Description System.ArgumentNullException Occurs when row is null. System.ArgumentException Occurs when row is at the top edge of the Worksheet. Remarks If the row is not co...
Inserts a horizontal and/or vertical page break before the specified cell. Overload List
Gets or sets the margin at the left of each printed page of the worksheet, specified in inches. Syntax Property Value The margin at the left of each printed page of the worksheet, specified in inches. Exceptions Exception Description System.ArgumentOutOfRangeException The assigned value is outside the valid margin...
Gets or sets the maximum number of pages allowed in the horizontal direction to print the worksheet. Syntax Property Value The maximum number of pages allowed in the horizontal direction to print the worksheet. Exceptions Exception Description System.ArgumentOutOfRangeException The value assigned is outside the va...
Gets or sets the maximum number of pages allowed in the vertical direction to print the worksheet. Syntax Property Value The maximum number of pages allowed in the vertical direction to print the worksheet. Exceptions Exception Description System.ArgumentOutOfRangeException The value assigned is outside the valid ...
Gets or sets the number of copies to print. Syntax Property Value The number of copies to print. Exceptions Exception Description System.ArgumentOutOfRangeException The assigned value is outside the valid range of 1 and 65535.
Gets or sets the orientation for each page of the printed worksheet. Syntax Property Value The orientation for each page of the printed worksheet. Exceptions Exception Description System.ComponentModel.InvalidEnumArgumentException The assigned value is not defined in the Orientation enumeration.
Returns the resolved orientation for each page of the printed worksheet. Syntax
Gets or sets the method with which pages are numbered. Syntax Property Value The method with which pages are numbered. Exceptions Exception Description System.ComponentModel.InvalidEnumArgumentException The assigned value is not defined in the PageNumbering enumeration. Remarks If this is set to a value of UseStar...
Gets or sets the order in which to print pages for multiple page worksheets. Syntax Property Value The order in which to print pages for multiple page worksheets. Exceptions Exception Description System.ComponentModel.InvalidEnumArgumentException The assigned value is not defined in the PageOrder enumeration.