AppearanceObject.CalcDefaultTextSize(Graphics) Method
Calculates the size of a string painted with the font specified by the current object.
Namespace: DevExpress.Utils
Assembly: DevExpress.Utils.v19.2.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
g | Graphics | A Graphics object which provides painting facilities. |
Returns
Type | Description |
---|---|
Size | A Size structure which represents the size (in pixels) of a string. |
See Also