Search
WorkbookPrinter Properties
 


 Public Properties

  Name Description

DocumentName

Gets or sets the name of the printed document.

EnableGridLines

Gets or sets a value indicating whether to print the grid lines.

EnableObjects

Gets or sets a value indicating whether to print drawing objects.

FromWorksheet

Gets or sets the zero-based index of the first worksheet to print.

HeaderFormat

Gets or sets the format of page headers.

Landscape

Gets or sets a value indicating whetherthe page is printed in landscape or portrait orientation.

Margins

Gets or sets the margins for the printed pages, expressed in hundredths of an inch.

PageOrder

Gets or sets the order of printed pages.

Scale

Gets or sets the scale of the print output relatively to the original on-screen size of the workbook, expressed in percents.

ToWorksheet

Gets or sets the zero-based index of the last worksheet to print, or -1, to print to the last worksheet in the workbook.

 See Also