Back to Devexpress

PrintingSystemBase.Graph Property

corelibraries-devexpress-dot-xtraprinting-dot-printingsystembase-af11e44d.md

latest3.3 KB
Original Source

PrintingSystemBase.Graph Property

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

Declaration

csharp
[Browsable(false)]
public BrickGraphics Graph { get; }
vb
<Browsable(False)>
Public ReadOnly Property Graph As BrickGraphics

Property Value

TypeDescription
BrickGraphics

A BrickGraphics object.

|

Remarks

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

csharp
if (this.PrintingSystem != null) {
    BrickGraphics g = this.PrintingSystem.Graph;

reporting-winforms-custom-brick/CS/Form1.cs#L33

csharp
printingSystem1.Begin();
IBrickGraphics graph = printingSystem1.Graph;
// Specify the page area to draw a brick.

reporting-printing-library-get-started/VB/Form1.vb#L104

vb
If Not Me.PrintingSystem Is Nothing Then
    Dim g As BrickGraphics = Me.PrintingSystem.Graph

reporting-winforms-custom-brick/VB/Form1.vb#L35

vb
printingSystem1.Begin()
Dim graph As IBrickGraphics = printingSystem1.Graph
' Specify the page area to draw a brick.

See Also

PrintingSystemBase Class

PrintingSystemBase Members

DevExpress.XtraPrinting Namespace