corelibraries-devexpress-dot-xtraprinting-dot-brickgraphics-c2331060.md
Specifies the default font for a report.
Namespace : DevExpress.XtraPrinting
Assembly : DevExpress.Printing.v25.2.Core.dll
NuGet Package : DevExpress.Printing.Core
public DXFont DefaultFont { get; set; }
Public Property DefaultFont As DXFont
| Type | Description |
|---|---|
| DXFont |
The default report font.
|
Specifies the default value for the BrickGraphics.Font property.
The following code snippets (auto-collected from DevExpress Examples) contain references to the DefaultFont 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#L96
// Set the font to the default font.
g.Font = g.DefaultFont;
reporting-winforms-handle-link-events/CS/UseLinkEvents/Form1.cs#L19
// Specify font and color settings for the brick graphics.
e.Graph.Font = e.Graph.DefaultFont;
e.Graph.BackColor = Color.Transparent;
reporting-printing-library-get-started/VB/Form1.vb#L113
' Set the font to the default font.
g.Font = g.DefaultFont
reporting-winforms-handle-link-events/VB/UseLinkEvents/Form1.vb#L23
' Specify font and color settings for the brick graphics.
e.Graph.Font = e.Graph.DefaultFont
e.Graph.BackColor = Color.Transparent
See Also