Measures the specified string when drawn with the specified Font.
Namespace: com.mindfusion.drawing
Package: com.mindfusion.drawing
Java
![]() |
---|
public SizeD measureString ( |
The String to measure.
The Font that defines the text format of the string.
The maximum width of the string.
A TextFormat object that represents formatting information, such as line alignment and wrapping, for the string.
A SizeD object that represents the size of the specified string as drawn with the specified font.