Clears all page breaks from the PrintOptions. Syntax
Gets or sets the range of columns which should be printed on every page. Syntax Exceptions Exception Description System.ArgumentException Occurs when the value specified is not null and its value is greater than or equal to the number of columns in the Worksheet.
Gets or sets the value indicating whether the printed pages should be printed using draft quality. Syntax Property Value The value indicating whether the printed pages should be printed using draft quality.
Gets or sets the footer for each page of the printed worksheet. Syntax Property Value The footer for each page of the worksheet. Remarks The & character in the header and footer is a special character. Depending on what is after it, the formatting of the text can be controlled or dynamic text can be inserted. Belo...
Gets or sets the footer margin for each printed page of the worksheet, specified in inches. Syntax Property Value The footer margin for each printed page of the worksheet, specified in inches. Exceptions Exception Description System.ArgumentOutOfRangeException The assigned value is outside the valid margin range o...
Gets or sets the header for each page of the printed worksheet. Syntax Property Value The header for each page of the worksheet. Remarks The & character in the header and footer is a special character. Depending on what is after it, the formatting of the text can be controlled or dynamic text can be inserted. Belo...
Gets or sets the header margin for each printed page of the worksheet, specified in inches. Syntax Property Value The header margin for each printed page of the worksheet, specified in inches. Exceptions Exception Description System.ArgumentOutOfRangeException The assigned value is outside the valid margin range o...
Gets the collection of horizontal page breaks in the Worksheet. Syntax
Inserts a horizontal and/or vertical page break before the specified cell. Syntax Parameters cell The cell at which to insert the page break(s). Exceptions Exception Description System.ArgumentNullException Occurs when cell is null. System.ArgumentException Occurs when cell is at the top-left corner of the Workshe...
Inserts a vertical page break to the left of the specified column. Syntax Parameters column The column at which to insert the page break. Exceptions Exception Description System.ArgumentNullException Occurs when column is null. System.ArgumentException Occurs when column is at the left edge of the Worksheet. Remar...