Exportera dokumentstruktur vid konvertering till PDF

Contents
[ ]

PDF:s logiska strukturfaciliteter ger en mekanism för att införliva information om dokumentets innehållsstruktur i en PDF-fil. Aspose.Cells bevarar information om strukturen från ett Microsoft Excel-dokument, som cell, rad, tabell, kalkylblad, bild, form, sidhuvud/fot, etc.

Du kan spara till en taggad PDF med exporterad dokumentstruktur med alternativet PdfSaveOptions.ExportDocumentStructure.

// 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);