windowsforms-devexpress-dot-xtraprinting-dot-control-dot-printcontrol-24b069b1.md
Specifies the Printing System that is used to create document pages for a link or report opened in Print Preview.
Namespace : DevExpress.XtraPrinting.Control
Assembly : DevExpress.XtraPrinting.v25.2.dll
NuGet Package : DevExpress.Win.Printing
[DefaultValue(null)]
public virtual PrintingSystemBase PrintingSystem { get; set; }
<DefaultValue(Nothing)>
Public Overridable Property PrintingSystem As PrintingSystemBase
| Type | Default | Description |
|---|---|---|
| PrintingSystemBase | null |
A PrintingSystemBase class descendant.
|
The following code demonstrates how to change the PrintControl.PrintingSystem property at runtime.
PrintingSystem ps2 = new PrintingSystem();
printControl1.PrintingSystem = ps2;
Dim ps2 = new PrintingSystem()
PrintControl1.PrintingSystem = ps2
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the PrintingSystem property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
reporting-winforms-print-report-in-dot-matrix-printer/CS/Form1.cs#L20
report.CreateDocument();
printControl1.PrintingSystem = report.PrintingSystem;
}
reporting-winforms-print-report-in-dot-matrix-printer/VB/Form1.vb#L22
report.CreateDocument()
printControl1.PrintingSystem = report.PrintingSystem
End Sub
See Also