Measures the specified string when drawn with the specified Font object and formatted with the specified StringFormat object. Namespace: MindFusion.Drawing
|
C#
![]() |
---|
public abstract SizeF MeasureString ( |
Visual Basic
![]() |
---|
Public MustOverride 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.