ComponentOne Word for UWP
MeasureString(String,Font) Method

C1.UWP.Word Assembly > C1.Xaml.Word Namespace > C1WordDocument Class > MeasureString Method : MeasureString(String,Font) Method
The drawing string.
The drawing font.
Measure string for this document.
Syntax
'Declaration
 
Public Overloads Function MeasureString( _
   ByVal text As System.String, _
   ByVal font As Font _
) As Windows.Foundation.Size
public Windows.Foundation.Size MeasureString( 
   System.string text,
   Font 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.
See Also

Reference

C1WordDocument Class
C1WordDocument Members
Overload List