Back to Devexpress

IdxRichEditDocumentImage.GetRange Method

vcl-dxrichedit-dot-nativeapi-dot-idxricheditdocumentimage-953f6abc.md

latest1.1 KB
Original Source

IdxRichEditDocumentImage.GetRange Method

Returns the inline image’s position within its parent document.

Declaration

delphi
function GetRange: IdxRichEditDocumentRange;

Returns

Type
IdxRichEditDocumentRange

Remarks

Call this function to obtain the document range that the inline image occupies. The range’s Length property value is always 1 , since an inline image always corresponds to a single character in text.

The GetRange function is the Range property’s getter.

See Also

IdxRichEditShape.GetRange

IdxRichEditDocumentImage Interface

IdxRichEditDocumentImage Members

dxRichEdit.NativeApi Unit