[]
        
(Showing Draft Content)

C1.Util.DX.DirectWrite.TextLayout.GetTypography

GetTypography Method

GetTypography(int)

Gets the typography setting of the text at the specified position.

Declaration
public Typography GetTypography(int currentPosition)
Parameters
Type Name Description
int currentPosition

The position of the text to inspect.

Returns
Type Description
Typography

a reference to the current typography setting.

GetTypography(int, out TextRange)

HRESULT IDWriteTextLayout::GetTypography([In] unsigned int currentPosition,[Out] IDWriteTypography** typography,[Out, Optional] DWRITE_TEXT_RANGE* textRange)

Declaration
public Typography GetTypography(int currentPosition, out TextRange textRange)
Parameters
Type Name Description
int currentPosition
TextRange textRange
Returns
Type Description
Typography