SubDocument.GetImages(DocumentRange) Method
OBSOLETE
This method has become obsolete. Use the 'Get' method instead.
Gets all images (inline pictures and shapes) in the specified document range. Use a method accessible with the RichEditControl.Document.Images.Get(DocumentRange range) notation instead.
Namespace: DevExpress.XtraRichEdit.API.Native
Assembly: DevExpress.RichEdit.v19.2.Core.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
range | DocumentRange | A DocumentRange specifying the range in which to search for images. |
Returns
Type | Description |
---|---|
DocumentImageCollection | A DocumentImageCollection object which holds the located images. |
Remarks
Important
This method is obsolete. Use the ReadOnlyDocumentImageCollection.Get method instead.
If you operate with a selection range, the GetImages method should be enclosed within a DocumentRange.BeginUpdateDocument - DocumentRange.EndUpdateDocument method pair. Otherwise, an incorrect document model might be selected, resulting in an exception “Error: specified document position or range belongs to other document or subdocument” being thrown.