ComponentOne Bitmap for UWP
C1.UWP.DX Assembly / C1.Util.DX.DirectWrite Namespace / TextLayout Class / GetFontWeight Method / GetFontWeight(Int32) Method
The position of the text to inspect.

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

    Parameters

    currentPosition
    The position of the text to inspect.

    Return Value

    a value which indicates the type of font weight being applied at the specified position.
    See Also