Measures the specified string when drawn with the specified Font object.
Namespace: MindFusion.Drawing
Assembly: MindFusion.Scheduling
C# Copy Code |
---|
Size MeasureString ( |
Visual Basic Copy Code |
---|
Function MeasureString( _ |
The string to measure.
A Font object that defines the text format of the string.
A Size structure that represents the size, in device-independent pixels, of the string specified by the text parameter as drawn with the font parameter.