LoadFromString
Description
Similar to the LoadFromFile function, except the data for the PDF document is passed in as a string. If the function succeeds, the loaded document will be selected and its DocumentID can be retrieved using the SelectedDocument function.
Syntax
Delphi
function TQuickPDF0813.LoadFromString(const Source: string;
Password: WideString): Integer;
ActiveX
This function is not available in the ActiveX edition
DLL
int QuickPDFLoadFromString(int InstanceID, char * Source, wchar_t * Password)
Parameters
| Source | The source data to load the PDF document from |
| Password | The password to load the file |
Return values
| 0 | The PDF could not be loaded |
| 1 | The PDF was loaded from the string successfully |