DsPdf allows you to create PDF/A-4 compliant documents. PDF/A-4 is based on PDF 2.0 (unlike older PDF/A versions, which are based on PDF 1.x) and comes in three flavors: plain PDF/A-4 (only PDF/A-1/2/3/4 conformant PDFs may be embedded), PDF/A-4e (adds engineering file formats and RichMediaAnnotation), and PDF/A-4f (allows arbitrary file attachments). This sample creates a PDF/A-4f compliant document with tagged content and a Word document attachment. Switching PdfAConformanceLevel to PdfA4 or PdfA4e changes which attachment types and annotations are allowed.