Parameters
- sheet
- Index of sheet to print; -1 for all sheets
- newThread
- True to create a new thread for the print job, or false to print the sheet in the UI thread.
Exception | Description |
---|---|
System.ArgumentOutOfRangeException | Specified sheet index is out of range; must be between 0 and the total number of sheets (or -1 for all sheets) |