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.GetRange Method

Returns the anchor position of the floating picture or text box.

#Declaration

Delphi
function GetRange: IdxRichEditDocumentRange;

#Returns

Type
IdxRichEditDocumentRange

#Remarks

Call this function to obtain the document range that corresponds to the shape’s base position within the document. The range’s Length property always returns 1. You can call the parent document’s Delete procedure and pass this document range to delete the shape.

The GetRange function is the Range property’s getter.

See Also