GetStandard

Description

Obtains the PDF standard used in the current PDF document.

Applies to

PDFDocExtractor object

Syntax

PDFStandard GetStandard()

Return value

PDFStandard. The PDFStandard is the enumerated data type indicating the level of PDF/A conformance. Values are:

  • PDF_None! (Default)

  • PDFA_1a!

  • PDFA_1b!

  • PDFA_3a!

  • PDFA_3b!

  • PDFA_3u!

  • PDF_Unknown! (If the standard used is none of the supported standards listed above)

Examples

This example opens the "standard_1b.pdf" PDF document and gets the standard of the document:

PDFdocument lpdf_doc
PDFdocextractor lpdf_extract

lpdf_extract = create PDFdocextractor
lpdf_doc = create PDFdocument

long ll_return
boolean lb_standard
PDFstandard lpdf_standard,lpdf_getstandard

lpdf_extract.open( "import\standard_1b.pdf")
//Gets the standard of the document
lpdf_getstandard = lpdf_extract.getstandard( )

See also

IsStandardCompatible

GetCompatibleStandards