Gets a particular line from the collection.

<void> LineCollection.getItem(<RequestLineCallback> callback, <number> textPosition, [<ErrorCallback> errorCallback])

Parameters

Parameter Description
callback Receives the particular line.
textPosition Specifies a zero-based text position.
errorCallback Optional. Is called when the operation failed with an error.