Inserts a text frame with the built-in mouse interface. The text frame's size is determined through the end-user. A cross cursor indicates where the text frame can be inserted. Changing the document or pressing the ESC key aborts the insertion process.

<void> TextFrameCollection.addWithMouse(<TextFrameInsertionMode> insertionMode, [<ErrorCallback> errorCallback])


Parameter Description
insertionMode Specifies how the text flow is handled.
errorCallback Optional. Is called when the operation failed with an error.