Measure character ranges in a string.
Syntax

[C#]

Region[] MeasureCharacterRanges(string text, Font font, RectangleF rect, stringFormat format);

[Visual Basic]

Function MeasureCharacterRanges(text As String, font As Font, rect As RectangleF, format As StringFormat) As Region()
Params
Name Description
text The text that should be measured.
font The font to use.
rect A rectangle in which the text should be positioned.
format The style and formatting for the text.
return The size of the text in PageUnit measurements.
Notes

None.

Example

None.