[]
Gets the underline presence of the text at the specified position.
public bool HasUnderline(int currentPosition)
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)
Type | Name | Description |
---|---|---|
int | currentPosition | |
TextRange | textRange |
Type | Description |
---|---|
bool |