Skip to main content
All docs
V26.1
  • SchedulerControl.PrintDirect(ReportTemplate, String) Method

    Prints the scheduler’s contents using the specified printing template and printer.

    Namespace: DevExpress.Xpf.Scheduling

    Assembly: DevExpress.Xpf.Scheduling.v26.1.dll

    NuGet Package: DevExpress.Wpf.Scheduling

    Declaration

    public void PrintDirect(
        ReportTemplate reportTemplate,
        string printerName = null
    )

    Parameters

    Name Type Description
    reportTemplate DevExpress.Xpf.Scheduling.ReportTemplate

    The DevExpress.Xpf.Scheduling.ReportTemplate object that is the printing template to use.

    Optional Parameters

    Name Type Default Description
    printerName String null

    The name of the printer to use. If set to null, the default printer is used.

    Remarks

    Use the Print method to show the system’s Print dialog window with the report based on the specified template.

    See Also