Creates and inserts a new text frame which has a fixed geometrical position in the document. This position is specified through a location relative to the top left corner of the complete document. All gaps between the pages must be included.
<void> TextFrameCollection.addAtFixedPositionInDocument(<Size> size, <Point> location, <TextFrameInsertionMode> insertionMode, [<RequestTextFrameCallback> callback], [<ErrorCallback> errorCallback])
Parameter | Description |
---|---|
size | The text frame's size in twips. |
location | Specifies the location, in twips, at which the text frame is to be inserted. This is a location relative to the top left corner of the complete document. All gaps between the pages must be included. |
insertion |
Specifies how the text flow is handled. |
callback | Optional. The newly created text frame object is returned via this callback function. |
error |
Optional. Is called when the operation failed with an error. |