[]
        
(Showing Draft Content)

C1.Util.DX.DirectWrite.TextLayout.HasStrikethrough

HasStrikethrough Method

HasStrikethrough(int)

Get the strikethrough presence of the text at the specified position.

Declaration
public bool HasStrikethrough(int currentPosition)
Public Function HasStrikethrough(currentPosition As Integer) As Boolean
Parameters
Type Name Description
int currentPosition

The position of the text to inspect.

Returns
Type Description
bool

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

HasStrikethrough(int, out TextRange)

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

Declaration
public bool HasStrikethrough(int currentPosition, out TextRange textRange)
Public Function HasStrikethrough(currentPosition As Integer, ByRef textRange As TextRange) As Boolean
Parameters
Type Name Description
int currentPosition
TextRange textRange
Returns
Type Description
bool