RetrieveCustomDataToFile

문서 속성

설명

이전에 StoreCustomDataFromString 또는 StoreCustomDataFromFile로 저장한 사용자 지정 데이터를 PDF에서 가져옵니다. 가져온 데이터는 지정한 파일에 기록됩니다

구문

Delphi

Function TPDFlib.RetrieveCustomDataToFile(Const Key, FileName: WideString; Location: Integer): Integer;

ActiveX

Function PDFlib::RetrieveCustomDataToFile(Key As String, FileName As String, Location As Long) As Long

DLL

int DLRetrieveCustomDataToFile(int InstanceID, const wchar_t * Key, const wchar_t * FileName, int Location);

매개변수

Key데이터가 저장된 키입니다 위치가 Document Catalog이면 다른 소프트웨어와의 충돌을 방지하도록 Adobe가 할당한 특수 접두사가 키에 있어야 합니다 위치가 Document Information Dictionary이면 어떤 키든 사용할 수 있지만 사용자에게 의미가 있도록 신중히 선택해야 합니다
FileName가져온 데이터를 저장할 파일의 경로와 파일 이름
Location1 = Document Information Dictionary에서 데이터 가져오기, 2 = Document Catalog에서 데이터 가져오기

반환 값

0지정한 키에 저장된 데이터가 없거나 데이터를 저장할 파일이 이미 존재하고 덮어쓸 수 없음
1데이터를 성공적으로 가져와 지정한 파일에 썼습니다