Back to Devexpress

IdxRichEditDocumentImage.Range Property

vcl-dxrichedit-dot-nativeapi-dot-idxricheditdocumentimage-619aab6a.md

latest1.3 KB
Original Source

IdxRichEditDocumentImage.Range Property

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

Declaration

delphi
property Range: IdxRichEditDocumentRange read;

Property Value

Type
IdxRichEditDocumentRange

Remarks

This property returns the document range corresponding to the inline image. Since inline images are positioned as a single character in text, the Range.Length property always returns 1.

To delete the floating shape, pass the Range property value as a parameter of the parent document’s Delete procedure.

See Also

IdxRichEditDocumentImage.GetRange

IdxRichEditShape.Range

IdxRichEditDocumentImage Interface

IdxRichEditDocumentImage Members

dxRichEdit.NativeApi Unit