Save document as TAGGED PDF

Hi,

how can i convert/save a word document as tagged PDF
so that it can be read by Screen reader ?

Kind regards,
Guido

@Nachti,

You can set PdfSaveOptions.ExportDocumentStructure property to true to generate a tagged PDF from Word document:

Document doc = new Document("C:\\temp\\input.docx");

PdfSaveOptions opts = new PdfSaveOptions();
opts.ExportDocumentStructure = true;

doc.Save("C:\\temp\\21.7.pdf", opts);