PDFAConvertResult Class Documentation

classPDFAConvertResult

Namespace:com::datalogics::PDFL

Detailed Description

Return the PDF/A compliant version of the document.

Contains a PDF document if the conversion is successful; returns null if the conversion fails.

PDF/A is an ISO-standard version the PDF format, lighter and designed to be used with PDF files that need to be archived for long periods. For example, the fonts in a PDF/A file are embedded in the file itself, and not accessed from the host machine.

Referenced by

Uses types

Constructor & Destructor Documentation

PDFAConvertResult

PDFAConvertResult()

PDFAConvertResult

PDFAConvertResult(Documentdoc, EnumSet< SaveFlags >flags)

Parameters

flags: EnumSet< SaveFlags >

Member Function Documentation

getPDFADocument

DocumentgetPDFADocument()

Returns:

Document

Return the PDF/A compliant version of the document.

This will return null if the conversion failed.

getPDFASaveFlags

EnumSet< SaveFlags >getPDFASaveFlags()

Returns:

EnumSet< SaveFlags >

Return the SaveFlags that must be used when saving the PDF/A compliant document.

You must use these SaveFlags when saving the PDF/A document, or you risk breaking PDF/A compliance.

setPDFADocument

voidsetPDFADocument(Documentvalue)

Parameters

value: Document

Returns:

void

Set the PDF/A compliant version of the document.

setPDFASaveFlags

voidsetPDFASaveFlags(EnumSet< SaveFlags >value)

Parameters

value: EnumSet< SaveFlags >

Returns:

void

Set the SaveFlags that must be used when saving the PDF/A compliant document.