[]
Handles the printing of the specified sheet in a separate thread.
public void PrintSheet(int sheet)
Public Sub PrintSheet(sheet As Integer)
| Type | Name | Description |
|---|---|---|
| int | sheet | Index of sheet to print; -1 for all sheets |
| Type | Condition |
|---|---|
| ArgumentOutOfRangeException | Specified sheet index is out of range; must be between 0 and the total number of sheets (or -1 for all sheets) |
Handles the printing of the specified sheet.
public void PrintSheet(int sheet, bool newThread)
Public Sub PrintSheet(sheet As Integer, newThread As Boolean)
| Type | Name | Description |
|---|---|---|
| int | sheet | Index of sheet to print; -1 for all sheets |
| bool | newThread | True to create a new thread for the print job, or false to print the sheet in the UI thread. |
| Type | Condition |
|---|---|
| ArgumentOutOfRangeException | Specified sheet index is out of range; must be between 0 and the total number of sheets (or -1 for all sheets) |
Handles the printing of the specified sheet.
public void PrintSheet(int sheet, bool newThread, PrintArea printArea)
Public Sub PrintSheet(sheet As Integer, newThread As Boolean, printArea As PrintArea)
| Type | Name | Description |
|---|---|---|
| int | sheet | Index of sheet to print; -1 for all sheets |
| bool | newThread | True to create a new thread for the print job, or false to print the sheet in the UI thread. |
| PrintArea | printArea | print option |
Handles the printing of the specified sheet in a separate thread.
public void PrintSheet(SheetView sheet)
Public Sub PrintSheet(sheet As SheetView)
| Type | Name | Description |
|---|---|---|
| SheetView | sheet | Sheet to be printed |