corelibraries-devexpress-dot-xtraprinting-dot-drawing-dot-pagewatermark.md
Gets or sets the font of the PageWatermark.
Namespace : DevExpress.XtraPrinting.Drawing
Assembly : DevExpress.Printing.v25.2.Core.dll
NuGet Package : DevExpress.Printing.Core
[XRLocalizable(true)]
public DXFont Font { get; set; }
<XRLocalizable(True)>
Public Property Font As DXFont
| Type | Description |
|---|---|
| DXFont |
The font of the PageWatermark.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Font 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-watermark-different-pages/CS/Form1.cs#L41
textWatermark.TextDirection = DirectionMode.ForwardDiagonal;
textWatermark.Font = new DXFont(textWatermark.Font.Name, 40);
textWatermark.ForeColor = Color.DodgerBlue;
reporting-winforms-watermark-different-pages/VB/Form1.vb#L43
textWatermark.TextDirection = DirectionMode.ForwardDiagonal
textWatermark.Font = New DXFont(textWatermark.Font.Name, 40)
textWatermark.ForeColor = Color.DodgerBlue
See Also