Export Document Structure While Converting to PDF

Contents
[ ]

PDF logical structure facilities provide a mechanism for incorporating information, regarding the document content structure, into a PDF file. Aspose.Cells preserves information about the structure from a Microsoft Excel document, such as cell, row, table, worksheet, image, shape, header/footer, etc.

With option PdfSaveOptions.ExportDocumentStructure, you can save to a tagged PDF with document structure exported.

// For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-.NET
// Open the excel file with image, shape, chart, etc.
Workbook wb = new Workbook("document-structure-example.xlsx");
// Set to export document structure.
PdfSaveOptions pdfSaveOptions = new PdfSaveOptions();
pdfSaveOptions.ExportDocumentStructure= true;
// Save the pdf file with PdfSaveOptions
wb.Save("output.pdf", pdfSaveOptions);