HasPDFDeclaration

규격 준수

설명

선택된 문서에 URI로 식별되는 PDF Declarations 항목이 있는지 검사합니다

구문

Delphi

Function HasPDFDeclaration(Const URI: WideString): Integer;

매개변수

URI문서 카탈로그에서 찾을 선언 URI

반환 값

1해당 URI의 선언 항목이 존재합니다
0일치하는 선언이 없거나, URI가 비었거나, 로드된 문서가 없습니다

비고

이 메서드는 /PieceInfo /PDF_Declarations 아래에 저장된 키를 검색하며 XMP 메타데이터는 검사하지 않습니다

예제

if PDF.HasPDFDeclaration('https://pdfa.org/declarations#ua2')= 1 then ShowDeclaration;

참고 항목

SetPDFDeclarations, GetPDFDeclarationsCount, GetPDFDeclarationsURI, ClearPDFDeclarations