THotPDF.GetLoadedPDFAVersion Method

Yüklenen bir belgenin XMP metadata'sında bildirdiği PDF/A part'ını ve conformance düzeyini döndürür; örneğin PDF/A-1b, PDF/A-2u, PDF/A-4 veya PDF/A-4f. PDFACompliance ile oluşturulmakta olan bir belge için yazılacak profile'u döndürür

Bildirim

function GetLoadedPDFAVersion: AnsiString;

Birim

HPDFDoc

Parametreler

AdAmaç
Parametre yok

Dönüş değeri

PDF/A- öneki, ardından pdfaid:part numarası ve varsa küçük harfle pdfaid:conformance harfi gelir; belge PDF/A kimliği taşımıyorsa boş bir string döndürür

XMP kimliğiSonuç
pdfaid:part 1, pdfaid:conformance BPDF/A-1b
pdfaid:part 2, pdfaid:conformance UPDF/A-2u
pdfaid:part 3, pdfaid:conformance APDF/A-3a
pdfaid:part 4, pdfaid:conformance yokPDF/A-4
pdfaid:part 4, pdfaid:conformance E veya FPDF/A-4e veya PDF/A-4f

Kullanım notları

İlgili API'ler