Skip to main content
A newer version of this page is available. .

PrintAppearanceObject.Font Property

Specifies the font used to render the text.

Namespace: DevExpress.PivotGrid.Printing

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

Declaration

[TypeConverter(typeof(FontTypeConverter))]
[XtraSerializableProperty]
public Font Font { get; set; }

Property Value

Type Description
Font

A Font object, specifying the font used to display element content.

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