from ironpdf import *
# Open a PDF or use an existing PdfDocument object
pdf = PdfDocument.FromFile("source_doc.pdf")
# Perform PDF Editing Tasks...
# Save the PDF/A-3b Document to File
pdf.SaveAsPdfA("pdfa-compliant.pdf", PdfAVersions.PdfA3)
#Open a PDF or use an existing PdfDocument object
#Perform PDF Editing Tasks...
#Save the PDF/A-3b Document to File
'INSTANT VB TODO TASK: The following line uses invalid syntax:
'from ironpdf import * pdf = PdfDocument.FromFile("source_doc.pdf") pdf.SaveAsPdfA("pdfa-compliant.pdf", PdfAVersions.PdfA3)