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 |
---|
Size MeasureString ( |
Visual Basic Copy Code |
---|
Function MeasureString( _ |
This method returns a Microsoft.Maui.Graphics.Size that represents the size, in pixels, of the string specified in the text parameter as drawn with the font parameter and the stringFormat parameter.
MeasureString Method Overload List
IGraphics Members
IGraphics Interface
MindFusion.Drawing Namespace