Contains all images of a Text Control document or part of the document.

Syntax

ImageCollection

Introduced: X18.

Methods

Method Description
addAnchored Creates and inserts a new image which is anchored to the specified text position.
addAnchoredAtLocation Inserts a new image which is anchored to the specified text position.
addAtFixedPosition Deprecated.
addAtFixedPositionInDocument Creates and inserts a new image which has a fixed geometrical position in the document.
addAtFixedPositionOnPage Inserts a new image which has a fixed geometrical position in the document.
addInline Creates and inserts a new image inline, which means that it is treated in the text like a single character.
clear Removes all objects from the collection and from the document.
(Inherited from FrameBaseCollection)
elementAt Returns the element at a specified index in the collection.
(Inherited from FrameBaseCollection)
forEach Executes a callback function for each element.
(Inherited from FrameBaseCollection)
getCount Gets the number of elements contained in the collection.
(Inherited from FrameBaseCollection)
getItem Gets the image selected by the user or the image with the specified identifier.
getItemByName Gets the image with the specified name.
remove Removes an image from a Text Control document.