Measure string for this document.
'Declaration
Public Overloads Function MeasureString( _
ByVal As System.String, _
ByVal As Font _
) As Windows.Foundation.Size
public Windows.Foundation.Size MeasureString(
System.string ,
Font
)
Parameters
- text
- The drawing string.
- font
- The drawing font.
Return Value
The size, in points, of the string specified as drawn with the font parameter.