'Declaration
Public Overloads Function MeasureString( _
ByVal As System.String, _
ByVal As System.Drawing.Font, _
ByVal As System.Single _
) As System.Drawing.SizeF
public System.Drawing.SizeF MeasureString(
System.string ,
System.Drawing.Font ,
System.float
)
Parameters
- text
- String to measure.
- font
- System.Drawing.Font object that defines the appearance and size of the text.
- width
- Maximum width of the string.
Return Value
The size of the string expressed in points.