'Declaration
Public Function MeasureText( _ ByVal text As String, _ ByVal proposedSize As Size, _ ByVal format As TextFormat _ ) As Size
public Size MeasureText( string text, Size proposedSize, TextFormat format )
Parameters
- text
- The string that specifies the text to be drawn.
- proposedSize
- Contains the proposed size in which the text is to be formatted.
- format
- Specifies the method of formatting the text.