Measures the specified text when drawn with the specified font.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming.Silverlight
C# Copy Code |
---|
public static Size MeasureText ( |
Visual Basic Copy Code |
---|
Public Shared Function MeasureText( _ |
The string to measure.
A FontFamily instance specifying the font.
A double value specifying the font size.
A Size instance representing the text size.