corelibraries-devexpress-dot-xtraprinting-dot-printingsystembase-af11e44d.md
Gets a BrickGraphics object used for drawing in the current report.
Namespace : DevExpress.XtraPrinting
Assembly : DevExpress.Printing.v25.2.Core.dll
NuGet Package : DevExpress.Printing.Core
[Browsable(false)]
public BrickGraphics Graph { get; }
<Browsable(False)>
Public ReadOnly Property Graph As BrickGraphics
| Type | Description |
|---|---|
| BrickGraphics |
A BrickGraphics object.
|
This property returns a BrickGraphics instance, used to draw a report. Its members define the default settings such as font, fore and background color, border sides, and alignment for all bricks created using the current BrickGraphics instance.
The following code snippets (auto-collected from DevExpress Examples) contain references to the Graph 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-printing-library-get-started/CS/Form1.cs#L87
if (this.PrintingSystem != null) {
BrickGraphics g = this.PrintingSystem.Graph;
reporting-winforms-custom-brick/CS/Form1.cs#L33
printingSystem1.Begin();
IBrickGraphics graph = printingSystem1.Graph;
// Specify the page area to draw a brick.
reporting-printing-library-get-started/VB/Form1.vb#L104
If Not Me.PrintingSystem Is Nothing Then
Dim g As BrickGraphics = Me.PrintingSystem.Graph
reporting-winforms-custom-brick/VB/Form1.vb#L35
printingSystem1.Begin()
Dim graph As IBrickGraphics = printingSystem1.Graph
' Specify the page area to draw a brick.
See Also