Provides print and print preview for Workbook objects.
The following tables list the members exposed by the WorkbookPrinter type.
Name | Description | |
---|---|---|
![]() |
Overloaded. Initializes a new instance of the WorkbookPrinter class. |
Name | Description | |
---|---|---|
![]() |
Gets or sets the name of the printed document. |
|
![]() |
Gets or sets a value indicating whether to print the grid lines. |
|
![]() |
Gets or sets a value indicating whether to print drawing objects. |
|
![]() |
Gets or sets the zero-based index of the first worksheet to print. |
|
![]() |
Gets or sets the format of page headers. |
|
![]() |
Gets or sets a value indicating whetherthe page is printed in landscape or portrait orientation. |
|
![]() |
Gets or sets the margins for the printed pages, expressed in hundredths of an inch. |
|
![]() |
Gets or sets the order of printed pages. |
|
![]() |
Gets or sets the scale of the print output relatively to the original on-screen size of the workbook, expressed in percents. |
|
![]() |
Gets or sets the zero-based index of the last worksheet to print, or -1, to print to the last worksheet in the workbook. |
Name | Description | |
---|---|---|
![]() |
Overloaded. Prints a Workbook object. |
|
![]() |
Overloaded. Displays a print preview form for a workbook. |