ComponentOne Word for UWP
MeasureString(String,Font,Double) Method

C1.UWP.Word Assembly > C1.Xaml.Word Namespace > C1WordDocument Class > MeasureString Method : MeasureString(String,Font,Double) Method
The drawing string.
The drawing font.
The drawing width or -1 for default.
Measure string for the RTF document.
Syntax
'Declaration
 
Public Overloads Function MeasureString( _
   ByVal text As System.String, _
   ByVal font As Font, _
   ByVal width As System.Double _
) As Windows.Foundation.Size
public Windows.Foundation.Size MeasureString( 
   System.string text,
   Font font,
   System.double width
)

Parameters

text
The drawing string.
font
The drawing font.
width
The drawing width or -1 for default.

Return Value

The size, in points, of the string specified as drawn with the font parameter.
See Also

Reference

C1WordDocument Class
C1WordDocument Members
Overload List