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