[]
Gets the application-defined drawing effect at the specified text position.
public IntPtr GetDrawingEffect(int currentPosition)
| Type | Name | Description |
|---|---|---|
| int | currentPosition | The position of the text whose drawing effect is to be retrieved. |
| Type | Description |
|---|---|
| IntPtr | a reference to the current application-defined drawing effect. Usually this effect is a foreground brush that is used in glyph drawing. |
HRESULT IDWriteTextLayout::GetDrawingEffect([In] unsigned int currentPosition,[Out] void** drawingEffect,[Out, Optional] DWRITE_TEXT_RANGE* textRange)
public IntPtr GetDrawingEffect(int currentPosition, out TextRange textRange)
| Type | Name | Description |
|---|---|---|
| int | currentPosition | |
| TextRange | textRange |
| Type | Description |
|---|---|
| IntPtr |