The callback function that fires if the loadFromLocal operation succeeds.
Parameters
document
A valid function must be provided. This callback fires if the loadFromLocal 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 getCurrentDocument.
For an example, refer to loadFromLocal.