DocumentConvertToPdfA Method |
Converts a document loaded from an existing PDF to a PDF/A level, in place: the fonts are embedded (a font
the file does not embed is replaced by an installed one), transparency and what the level forbids are
removed, and the PDF/A identification is written. Save the document afterwards.
Namespace: ExpertPdf.Anywhere.PdfDocumentAssembly: ExpertPdf.Anywhere (in ExpertPdf.Anywhere.dll) Version: 22.0
Syntaxpublic void ConvertToPdfA(
PdfStandardSubset pdfStandardSubset
)
Public Sub ConvertToPdfA (
pdfStandardSubset As PdfStandardSubset
)
Parameters
- pdfStandardSubset PdfStandardSubset
- One of the PDF/A-1, PDF/A-2 or PDF/A-3 levels.
Exceptions| Exception | Condition |
|---|
| PdfDocumentException | The document is not a loaded one, the level is not a PDF/A-1, -2 or
-3 level, or the document cannot be converted to it. |
Remarks
A new document takes its level from the Document(PdfStandardSubset) constructor instead. A level A
conversion needs a document that already has a tagged structure. A digitally signed document is refused:
convert it before it is signed, then sign the result.
See Also