HasPDFDeclaration
Conformidad
Descripción
Prueba si el documento seleccionado contiene una entrada de PDF Declarations identificada por URI
Sintaxis
Delphi
Function HasPDFDeclaration(Const URI: WideString): Integer;Parámetros
| URI | URI de declaración que se buscará en el catalog del documento |
|---|
Valores devueltos
| 1 | Existe una entrada de declaración con el URI |
|---|---|
| 0 | No existe una declaración coincidente, el URI está vacío o no hay documento cargado |
Observaciones
El método busca las claves almacenadas bajo /PieceInfo /PDF_Declarations y no examina los metadatos XMP
Ejemplo
if PDF.HasPDFDeclaration('https://pdfa.org/declarations#ua2')= 1 then ShowDeclaration;Véase también
SetPDFDeclarations, GetPDFDeclarationsCount, GetPDFDeclarationsURI, ClearPDFDeclarations