SetDocumentPartMetadata

문서 파트, 가변 데이터, 메타데이터

설명

PDF 객체 구문에서 계층 파트의 /DPM 사전을 설정합니다

구문

Delphi

Function TPDFlib.SetDocumentPartMetadata(PartID: Integer; Const Metadata: AnsiString): Integer;

DLL

int DLSetDocumentPartMetadata(int InstanceID, int PartID, const char* Metadata);

ActiveX

Function PDFlib::SetDocumentPartMetadata(PartID As Long, Metadata As String) As Long

매개변수

PartID선택한 계층 구조의 파트 식별자
Metadata완전한 PDF 사전이며 기존 메타데이터를 제거하려면 빈 문자열

반환 값

성공하면 1을 반환하며 구문 분석, 형식, 깊이, UTF-8 또는 소유권 검증에 실패하면 오류 122와 함께 0을 반환합니다

비고

허용되는 값은 문자열, 이름, 부울, 정수, 실수, 배열 및 사전입니다

파트를 수정하기 전에 스트림, 간접 참조, null 값, 후행 토큰, 과도한 중첩 및 과도한 전체 노드 수를 거부합니다

참고 항목

GetDocumentPartMetadata, ValidateDocumentPartHierarchy