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

AppearanceObject.GetFontHeight(GraphicsCache) Method

Returns the font height.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v19.2.dll

Declaration

public int GetFontHeight(
    GraphicsCache cache
)

Parameters

Name Type Description
cache GraphicsCache

A GraphicsCache object that stores graphics and font settings.

Returns

Type Description
Int32

An Int32 value that is the font height.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GetFontHeight(GraphicsCache) method.

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