ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.5.2 Assembly / C1.Util.DX.DirectWrite Namespace / TextLayout Class / GetFontStretch Method / GetFontStretch(Int32) Method
The position of the text to inspect.

In This Topic
    GetFontStretch(Int32) Method
    In This Topic
    Gets the font stretch of the text at the specified position.
    Syntax
    'Declaration
     
    Public Overloads Function GetFontStretch( _
       ByVal currentPosition As System.Integer _
    ) As FontStretch
    public FontStretch GetFontStretch( 
       System.int currentPosition
    )

    Parameters

    currentPosition
    The position of the text to inspect.

    Return Value

    a value which indicates the type of font stretch (also known as width) being applied at the specified position.
    See Also