A newer version of this page is available. Switch to the current version.

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.v19.1.dll

Declaration

public void PrintDirect(
    ReportTemplate reportTemplate,
    string printerName = null
)
Public Sub PrintDirect(
    reportTemplate As ReportTemplate,
    printerName As String = Nothing
)

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