TXTextControl.ImageCollection.addAtFixedPosition method

Inserts a new image which has a fixed geometrical position in the document. This position is specified through a page number and a location on this page.

Syntax

[JavaScript]
<void> ImageCollection.addAtFixedPosition(<string> imageData, <integer> pageNumber, <Point> location, <ImageInsertionMode> insertionMode);
Parameter Description
imageData

Base64 encoded image data.

pageNumber

Specifies the number of a page beginning with 1 where the image is located.

location

Specifies the location, in twips, at which the image is to be inserted. This is a location relative to the top left corner either of a page or of a paragraph.

insertionMode

Specifies how the text flow is handled. It can be one of the ImageInsertionMode values.