[]
        
(Showing Draft Content)

C1.Util.DX.DirectWrite.TextLayout.HasUnderline

HasUnderline Method

HasUnderline(int)

Gets the underline presence of the text at the specified position.

Declaration
public bool HasUnderline(int currentPosition)
Parameters
Type Name Description
int currentPosition

The current text position.

Returns
Type Description
bool

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

HasUnderline(int, out TextRange)

HRESULT IDWriteTextLayout::GetUnderline([In] unsigned int currentPosition,[Out] BOOL* hasUnderline,[Out, Optional] DWRITE_TEXT_RANGE* textRange)

Declaration
public bool HasUnderline(int currentPosition, out TextRange textRange)
Parameters
Type Name Description
int currentPosition
TextRange textRange
Returns
Type Description
bool