ComponentOne Bitmap for WPF
C1.WPF.DX.4.5.2 Assembly / C1.Util.DX.DirectWrite Namespace / TextLayout Class / HasUnderline Method / HasUnderline(Int32) Method
The current text position.

In This Topic
    HasUnderline(Int32) Method
    In This Topic
    Gets the underline presence of the text at the specified position.
    Syntax
    'Declaration
     
    Public Overloads Function HasUnderline( _
       ByVal currentPosition As Integer _
    ) As Boolean
    public bool HasUnderline( 
       int currentPosition
    )

    Parameters

    currentPosition
    The current text position.

    Return Value

    A Boolean flag that indicates whether underline is present at the position indicated by currentPosition.
    See Also