[]
Prints the worksheet.
void PrintOut(PrintOutOptions options = null)
Sub PrintOut(Optional options As PrintOutOptions = Nothing)
| Type | Name | Description |
|---|---|---|
| PrintOutOptions | options | Options for printing the worksheet. |
worksheet.Range["A1:C50"].Value = "Report";
worksheet.PageSetup.PrintArea = "$A$1:$C$50";
PrintOutOptions options = new PrintOutOptions
{
From = 1,
To = 2,
Copies = 2,
Collate = true
};
worksheet.PrintOut(options);