The callback function that always fires if the Viewer.loadFromUri operation succeeds.
Parameters
document
A valid function must be provided. This callback will fire if the loadFromUri operation succeeds.
A LEADDocument object will be passed to the callback. To set the document into the active LEADVIEW viewer, first retrieve the active viewer by calling Viewer.getCurrentDocument.
For an example, refer to Viewer.loadFromUri.