xtrareports-devexpress-dot-xtrareports-dot-ui-dot-xtrareport-1191f590.md
Returns a report’s Printing System that provides print and export settings.
Namespace : DevExpress.XtraReports.UI
Assembly : DevExpress.XtraReports.v25.2.dll
NuGet Package : DevExpress.Reporting.Core
[Browsable(false)]
public PrintingSystemBase PrintingSystem { get; }
<Browsable(False)>
Public ReadOnly Property PrintingSystem As PrintingSystemBase
| Type | Description |
|---|---|
| PrintingSystemBase |
A PrintingSystemBase descendant that provides print and export settings to the report.
|
Use this property to access a report’s PrintingSystem.
For a code example, refer to Use Printing System Commands.
To display a report document in a Print Preview form, use the methods of the ReportPrintTool class.
The following code snippets (auto-collected from DevExpress Examples) contain references 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.
report.CreateDocument();
PrintToolBase tool = new PrintToolBase(report.PrintingSystem);
tool.Print();
reporting-winforms-add-vertical-brick/CS/T457705/XtraReport1.cs#L33
SizeF brickSize = new SizeF(size.Height, size.Width);
labelBrick.Initialize(this.PrintingSystem, new RectangleF(brickLocation, brickSize));
return labelBrick;
reporting-winforms-print-report-in-dot-matrix-printer/CS/Form1.cs#L20
report.CreateDocument();
printControl1.PrintingSystem = report.PrintingSystem;
}
reporting-winforms-add-vertical-brick/VB/T457705/XtraReport1.vb#L30
Dim brickSize As New SizeF(size.Height, size.Width)
labelBrick.Initialize(Me.PrintingSystem, New RectangleF(brickLocation, brickSize))
Return labelBrick
reporting-winforms-print-report-in-dot-matrix-printer/VB/Form1.vb#L22
report.CreateDocument()
printControl1.PrintingSystem = report.PrintingSystem
End Sub
See Also