ComponentOne Word for WinForms
C1.C1Word.4.5.2 Assembly / C1.C1Word 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 Function MeasureExpand( _
       ByVal text As System.String, _
       ByVal font As System.Drawing.Font, _
       ByVal width As System.Double _
    ) As System.Single
    public System.float MeasureExpand( 
       System.string text,
       System.Drawing.Font font,
       System.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