Measures the specified string when drawn with the specified Font.
Namespace:
Aurigma.GraphicsMill.Drawing
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
public static Size MeasureString( string text, Font font )
Type: System.String
A string to measure.Type: Aurigma.GraphicsMill.Drawing.Font
A Font that defines the text format of the string.