Measures the specified string when drawn with the specified Font object and formatted with the specified StringFormat object.
Namespace: MindFusion.Drawing
Assembly: MindFusion.Common
C# Copy Code |
---|
SizeF MeasureString ( |
Visual Basic Copy Code |
---|
Function MeasureString( _ |
This method returns a .NET SizeF structure that represents the size of the string, in pixels, of the text parameter as drawn with the font parameter and the stringFormat parameter.