Gets the text frame selected by the user or the text frame with the specified identifier.

<void> TextFrameCollection.getItem(<RequestTextFrameCallback> callback, [<ErrorCallback> errorCallback], [<number> id])

Parameters

Parameter Description
callback Receives the requested text frame or null if there is no text frame at the current input position / with the specified identifier.
errorCallback Optional. Is called when the operation failed with an error.
id Optional. The text frame's identifier.