Back to Devexpress

SchedulerControl.PrintDirect(ReportTemplate, String) Method

wpf-devexpress-dot-xpf-dot-scheduling-dot-schedulercontrol-dot-printdirect-x28-devexpress-dot-xpf-dot-scheduling-dot-reporttemplate-system-dot-string-x29.md

latest2.0 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Scheduling

Declaration

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

Parameters

NameTypeDescription
reportTemplateDevExpress.Xpf.Scheduling.ReportTemplate

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

|

Optional Parameters

NameTypeDefaultDescription
printerNameStringnull

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

SchedulerControl Class

SchedulerControl Members

DevExpress.Xpf.Scheduling Namespace