Measures the specified string when drawn with the specified Font object.
Namespace: MindFusion.Drawing
Assembly: MindFusion.Common
C# Copy Code |
---|
Size MeasureString ( |
Visual Basic Copy Code |
---|
Function MeasureString( _ |
The string to measure.
A Font object that defines the text format of the string.
A Size structure that represents the size, in pixels, of the string specified by the text parameter as drawn with the font parameter.