This function was renamed in Quick PDF Library version 7.11.
The function name in earlier versions was StoreCustomData.
Saves custom data into the PDF under a key name. This data can later be retrieved using the RetrieveCustomDataToString, RetrieveCustomDataToVariant or RetrieveCustomDataToFile functions. The storage type (string, stream or compressed stream) and location (Document Information Dictionary or Document Catalog) can be set. If the location is the Document Catalog any storage type can be used, but the key must have a special prefix assigned to you by Adobe. If the location is the Document Information Dictionary any key apart from the standard keys can be used, but only strings can be used.
function TDebenuPDFLibrary1511.StoreCustomDataFromString(const Key,
NewValue: AnsiString; Location, Options: Integer): Integer;
This function is not available in the ActiveX edition
int DPLStoreCustomDataFromString(int InstanceID, char * Key, char * NewValue,
int Location, int Options)
|Key||The key to store the data under. If the location is the Document Information Dictionary then the key cannot be "Author", "Title", "Subject", "Keywords", "Creator" or "Producer". Any other key can be used but keys should be chosen with care so they make sense to the user. If the location is the Document Catalog then the key must have a special prefix assigned to you by Adobe to avoid conflicts with other software.|
|NewValue||The new value for the data|
1 = Store the data in the Document Information Dictionary
2 = Store the data in the Document Catalog
0 = Store the data as a string (the only option available if the location is the Document Information Dictionary)
1 = Store the data in a stream
2 = Store the data in a compressed stream
|0||The data could not be stored because the key name was a reserved name|
|1||The data was stored successfully|