0

I create my PDF file with:

ExportAsFixedFormat(pdffilename, WdExportFormat.wdExportFormatPDF);

but i need a PDF/A PDF. Is there a way to get this done with NetOffice?

Isma
  • 14,604
  • 5
  • 37
  • 51
Laibach
  • 13
  • 2

1 Answers1

0

Use Document.ExportAsFixedFormat overload with useISO19005_1 parameter.

newDocument.ExportAsFixedFormat(pdfFilename, WdExportFormat.wdExportFormatPDF,
  false, WdExportOptimizeFor.wdExportOptimizeForPrint,
  WdExportRange.wdExportAllDocument, 0, 0,
  WdExportItem.wdExportDocumentContent, true, false,
  WdExportCreateBookmarks.wdExportCreateNoBookmarks, true, true,
  useISO19005_1: true);
artnib
  • 480
  • 4
  • 7