RetrieveCustomDataToFileA

Document properties

תיאור

The trailing A denotes the ANSI (char) DLL entry point; the ActiveX/COM surface exposes only the Unicode form. Behaviour is identical to RetrieveCustomDataToFile and string arguments are interpreted using the current SetAnsiMode code page

מאחזרת נתונים מותאמים אישית מה-PDF שנשמרו קודם באמצעות StoreCustomDataFromString או StoreCustomDataFromFile. הנתונים שאוחזרו נכתבים לקובץ שצוין

תחביר

Delphi

Function DLRetrieveCustomDataToFileA(InstanceID: Integer; Key, FileName: PAnsiChar; Location: Integer): Integer;

DLL

int DLRetrieveCustomDataToFileA(int InstanceID, const char * Key, const char * FileName, int Location);

פרמטרים

Keyהמפתח שתחתיו נשמרו הנתונים; אם המיקום הוא ה-Document Catalog המפתח חייב לשאת קידומת מיוחדת שהוקצתה לכם על ידי Adobe כדי למנוע התנגשויות עם תוכנות אחרות; אם המיקום הוא ה-Document Information Dictionary ניתן להשתמש בכל מפתח אך כדאי לבחור אותו בזהירות כדי שיהיה הגיוני למשתמש
FileNameThe path and file name of the file to save the retrieved data to.
Location1 = Retrieve the data from the Document Information Dictionary 2 = Retrieve the data from the Document Catalog

ערכי החזרה

0There was no data stored in the specified key, or the file to save the data to already exists and could not be overwritten
1The data was retrieved and written to the specified file successfully