'Declaration Overloads Function MeasureText( _ ByVal text As TextDocument, _ ByVal baseFormat As TextFormat, _ ByVal size As Size _ ) As Size
'Usage Dim instance As IDrawingContext Dim text As TextDocument Dim baseFormat As TextFormat Dim size As Size Dim value As Size value = instance.MeasureText(text, baseFormat, size)
Size MeasureText( TextDocument text, TextFormat baseFormat, Size size )
Parameters
- text
- The text document.
- baseFormat
- Base format of rich text.
- size
- The current boundary size.
Return Value
The Size represent displayed size of rich text.