Back to Devexpress

AppearanceObject.CalcDefaultTextSize() Method

windowsforms-devexpress-dot-utils-dot-appearanceobject-802d976d.md

latest1.4 KB
Original Source

AppearanceObject.CalcDefaultTextSize() Method

Calculates the size of a string painted with the default font.

Namespace : DevExpress.Utils

Assembly : DevExpress.Utils.v25.2.dll

NuGet Packages : DevExpress.Utils, DevExpress.Wpf.Core

Declaration

csharp
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public Size CalcDefaultTextSize()
vb
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Never)>
Public Function CalcDefaultTextSize As Size

Returns

TypeDescription
Size

A System.Drawing.Size structure which represents the size (in pixels) of a string.

|

Remarks

This member supports the internal infrastructure, and is not intended to be used directly from your code.

See Also

AppearanceObject Class

AppearanceObject Members

DevExpress.Utils Namespace