SetCustomInformation

문서 속성

설명

이 함수는 문서에 사용자 지정 메타데이터를 저장하는 데 사용합니다. 이 값은 나중에 GetCustomInformation 함수로 문서에서 읽을 수 있습니다. 데이터는 Document Information Dictionary에 저장됩니다. 비공개 콘텐츠 또는 구조 정보는 SetCatalogInformation 함수를 사용하여 Document Catalog에 저장하는 것이 더 적절함

구문

Delphi

Function TPDFlib.SetCustomInformation(Const Key, NewValue: WideString): Integer;

ActiveX

Function PDFlib::SetCustomInformation(Key As String, NewValue As String) As Long

DLL

int DLSetCustomInformation(int InstanceID, const wchar_t * Key, const wchar_t * NewValue);

매개변수

Key설정할 키를 지정함
NewValue키에 설정할 값

반환 값

0값을 설정할 수 없습니다. Key 매개변수는 "Producer", "Creator", "Subject", "Title", "Keywords" 또는 "Author"일 수 없습니다. 이러한 키에는 SetInformation 함수를 사용합니다
1키 값이 성공적으로 설정되었습니다