[]
Gets the underline presence of the text at the specified position.
public bool HasUnderline(int currentPosition)
Public Function HasUnderline(currentPosition As Integer) As Boolean
| Type | Name | Description |
|---|---|---|
| int | currentPosition | The current text position. |
| Type | Description |
|---|---|
| bool | A Boolean flag that indicates whether underline is present at the position indicated by currentPosition. |
HRESULT IDWriteTextLayout::GetUnderline([In] unsigned int currentPosition,[Out] BOOL* hasUnderline,[Out, Optional] DWRITE_TEXT_RANGE* textRange)
public bool HasUnderline(int currentPosition, out TextRange textRange)
Public Function HasUnderline(currentPosition As Integer, ByRef textRange As TextRange) As Boolean
| Type | Name | Description |
|---|---|---|
| int | currentPosition | |
| TextRange | textRange |
| Type | Description |
|---|---|
| bool |