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