[]
        
(Showing Draft Content)

C1.Util.DX.DirectWrite.TextLayout.GetInlineObject

GetInlineObject Method

GetInlineObject(int)

Gets the inline object at the specified position.

Declaration
public InlineObject GetInlineObject(int currentPosition)
Parameters
Type Name Description
int currentPosition

The specified text position.

Returns
Type Description
InlineObject

an application-defined inline object.

GetInlineObject(int, out TextRange)

HRESULT IDWriteTextLayout::GetInlineObject([In] unsigned int currentPosition,[Out] IDWriteInlineObject** inlineObject,[Out, Optional] DWRITE_TEXT_RANGE* textRange)

Declaration
public InlineObject GetInlineObject(int currentPosition, out TextRange textRange)
Parameters
Type Name Description
int currentPosition
TextRange textRange
Returns
Type Description
InlineObject