BrickGraphics.MeasureString(String, Font) Method
Calculates the length of a specified text.
Namespace: DevExpress.XtraPrinting
Assembly: DevExpress.Printing.v18.2.Core.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
text | String | A String value. |
font | Font | A Font object. |
Returns
Type | Description |
---|---|
SizeF | A SizeF structure, specifying the string length. |
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the MeasureString(String, Font) 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