[]
Get the strikethrough presence of the text at the specified position.
public bool HasStrikethrough(int currentPosition)
| Type | Name | Description |
|---|---|---|
| int | currentPosition | The position of the text to inspect. |
| Type | Description |
|---|---|
| bool | A Boolean flag that indicates whether strikethrough is present at the position indicated by currentPosition. |
HRESULT IDWriteTextLayout::GetStrikethrough([In] unsigned int currentPosition,[Out] BOOL* hasStrikethrough,[Out, Optional] DWRITE_TEXT_RANGE* textRange)
public bool HasStrikethrough(int currentPosition, out TextRange textRange)
| Type | Name | Description |
|---|---|---|
| int | currentPosition | |
| TextRange | textRange |
| Type | Description |
|---|---|
| bool |