Skip to main content

PrintAppearanceObject.Font Property

Specifies the font used to render the text.

Namespace: DevExpress.PivotGrid.Printing

Assembly: DevExpress.PivotGrid.v23.2.Core.dll

NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Navigation

Declaration

public DXFont Font { get; set; }

Property Value

Type Description
DXFont

The font used to render the text.

Remarks

Setting the Font property to the control’s default font, currently used by the user’s operating system, automatically sets the appearance object’s AppearanceOptions.UseFont property to false. If this property is disabled and the current appearance object has a parent, the parent’s font settings are used.

To obtain the font settings specified by the appearance object’s settings, use the AppearanceObject.GetFont method.

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.

See Also