'Declaration Overloads Function MeasureText( _ ByVal richText As RichText, _ ByVal baseFont As Font, _ ByVal size As Size, _ ByVal wordWrap As Boolean _ ) As Size
'Usage Dim instance As IDrawingContext Dim richText As RichText Dim baseFont As Font Dim size As Size Dim wordWrap As Boolean Dim value As Size value = instance.MeasureText(richText, baseFont, size, wordWrap)
Parameters
- richText
- Rich text content.
- baseFont
- Base font of rich text.
- size
- The current boundary size.
- wordWrap
- true if allow word wrap and false for otherwise.
Return Value
The Size represent displayed size of rich text.