[]
Gets the typography setting of the text at the specified position.
public Typography GetTypography(int currentPosition)
Type | Name | Description |
---|---|---|
int | currentPosition | The position of the text to inspect. |
Type | Description |
---|---|
Typography | a reference to the current typography setting. |
HRESULT IDWriteTextLayout::GetTypography([In] unsigned int currentPosition,[Out] IDWriteTypography** typography,[Out, Optional] DWRITE_TEXT_RANGE* textRange)
public Typography GetTypography(int currentPosition, out TextRange textRange)
Type | Name | Description |
---|---|---|
int | currentPosition | |
TextRange | textRange |
Type | Description |
---|---|
Typography |