RetrieveCustomDataToString

Document properties

Description

Retrieves custom data from the PDF that was previously stored with the StoreCustomData function.

Syntax

Delphi

function TPDFlib.RetrieveCustomDataToString(Const Key: AnsiString; Location: Integer): AnsiString;

ActiveX

Function PDFlib::RetrieveCustomDataToString(Key As String, Location As Long) As String

DLL

char * DLRetrieveCustomDataToString(int InstanceID, char * Key, int Location);

Parameters

KeyThe key that the data was stored under. 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. If the location is the Document Information Dictionary any key can be used but should be chosen with care so they make sense to the user. 1 = Retrieve the data from the Document Information Dictionary 2 = Retrieve the data from the Document Catalog
Location