ComponentOne Word for WPF
C1.WPF.Word.4.5.2 Assembly / C1.WPF.Word Namespace / C1WordDocument Class / MeasureExpand Method
The drawing string.
The drawing font.
The current size in points for fit the drawing string.

In This Topic
    MeasureExpand Method
    In This Topic
    Measure expand value (spacing between characters) for the text of this document.
    Syntax
    'Declaration
     
    Public Shared Function MeasureExpand( _
       ByVal text As String, _
       ByVal font As Font, _
       ByVal width As Double _
    ) As Single
    public static float MeasureExpand( 
       string text,
       Font font,
       double width
    )

    Parameters

    text
    The drawing string.
    font
    The drawing font.
    width
    The current size in points for fit the drawing string.

    Return Value

    The calculated expand value (spacing between characters).
    See Also