Allows you to iterate over an image collection.
export class ImageIterator
The example below demonstrates how to change the wrapping type of every document image to Inline.
var imgIterator = richEdit.document.images.getIterator(); while(imgIterator.next()) imgIterator.image.changeWrapType(DevExpress.RichEdit.WrapType.Inline);
Returns an image that is marked as the current image in the iterator.
readonly image: InlineImage | FloatingImage | null
An object that contains settings of the current image (if the current image is an inline image).
An object that contains settings of the current image (if the current image is a floating image).
The iterator has no current image.
The image property returns the
null value in the following cases:
- The iterator has just been created. Call the next method to start image traversal.
- The iterator has traversed through all images.
Sets the next image in the collection as the current image.
true, if the next image exists; otherwise, false.