LoadFromVariant
Document management
Description
Loads a PDF document from a byte array stored as a Variant type. This function is only available in the ActiveX editions of the library. If the function succeeds, the loaded document will be selected and its DocumentID can be retrieved using the SelectedDocument function.
Syntax
Parameters
Source
The byte array to load the PDF document from
Password
The password to load the file
Return values
| 0 | The document could not be loaded. Check the result of the LastErrorCode |
|---|---|
| 1 | The document was loaded successfully |