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

AppearanceObject.GetStringFormat() Method

Gets the formatting attributes specified by the appearance object’s settings.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v19.1.dll

Declaration

public StringFormat GetStringFormat()

Returns

Type Description
StringFormat

A StringFormat object which specifies formatting attributes, such as the line spacing and alignment.

Remarks

The formatting attributes are specified by the text options which can be accessed via the AppearanceObject.TextOptions property.

The following code snippets (auto-collected from DevExpress Examples) contain references to the GetStringFormat() 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