C1.WPF.Word.4.6.2 Assembly / C1.WPF.Word Namespace / C1WordDocument Class / MeasureString Method / MeasureString(String,Font) Method
The drawing string.
The drawing font.

In This Topic
MeasureString(String,Font) Method
In This Topic
Measure string for this document.
Syntax
'Declaration
 
Public Overloads Shared Function MeasureString( _
   ByVal text As String, _
   ByVal font As Font _
) As Size
 

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.
See Also