Gets the document link at the current text input position or the document link with the specified id.

<void> DocumentLinkCollection.getItem(<RequestDocumentLinkCallback> callback, [<ErrorCallback> errorCallback], [<number> id])

Parameters

Parameter Description
callback The callback function that receives the requested value.
errorCallback Optional. Is called when the operation failed with an error.
id Optional. Specifies the document link's identifier set with the ID property. The method returns null if a link with the specified identifier does not exist.