[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IWorksheet.PrintOut

PrintOut Method

PrintOut(PrintOutOptions)

Prints the worksheet.

Declaration
void PrintOut(PrintOutOptions options = null)
Sub PrintOut(Optional options As PrintOutOptions = Nothing)
Parameters
Type Name Description
PrintOutOptions options

Options for printing the worksheet.

Examples
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);