[]
Gets the inline object at the specified position.
public InlineObject GetInlineObject(int currentPosition)
Type | Name | Description |
---|---|---|
int | currentPosition | The specified text position. |
Type | Description |
---|---|
InlineObject | an application-defined inline object. |
HRESULT IDWriteTextLayout::GetInlineObject([In] unsigned int currentPosition,[Out] IDWriteInlineObject** inlineObject,[Out, Optional] DWRITE_TEXT_RANGE* textRange)
public InlineObject GetInlineObject(int currentPosition, out TextRange textRange)
Type | Name | Description |
---|---|---|
int | currentPosition | |
TextRange | textRange |
Type | Description |
---|---|
InlineObject |