Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

IdxRichEditShape.Range Property

Returns the document range to which the floating shape is anchored.

#Declaration

Delphi
property Range: IdxRichEditDocumentRange read;

#Property Value

Type
IdxRichEditDocumentRange

#Remarks

The floating shape’s anchor is always located at the beginning of the first paragraph containing the document position passed as the APos parameter to the document‘s InsertPicture or InsertTextBox function. Since the anchoring range corresponds to the specified document position, the Range.Length property always returns 1.

Refer to the IdxRichEditDocumentRange interface description for detailed information on working with document ranges.

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

See Also