Sets a value determining whether the frame is treated as a single character or the document's text either flows around or overwrites the frame. If the document's text flows around or overwrites the frame, this property also determines whether the image, text frame, chart, barcode or drawing is moved with the text or fixed positioned on a page.

<void> TextFrame.setInsertionMode(<FrameInsertionMode> value, [<EmptyRequestCallback> callback], [<ErrorCallback> errorCallback])

Parameters

Parameter Description
value The new property value.
callback Optional. Is called when the operation completed.
errorCallback Optional. Is called when the operation failed with an error.

Remarks

The values of the FrameInsertionMode enumeration can be combined. The following combinations are possible: DisplaceCompleteLines and MoveWithText, DisplaceCompleteLines and FixedOnPage, DisplaceText and MoveWithText, DisplaceText and FixedOnPage, AboveTheText and MoveWithText, AboveTheText and FixedOnPage, BelowTheText and MoveWithText, BelowTheText and FixedOnPage, AsCharacter. For all other combinations an exception is thrown.