تصدير هيكل الوثيقة أثناء التحويل إلى PDF

Contents
[ ]

توفر مرافق الهيكل المنطقي لملف PDF آلية لدمج معلومات، بشأن هيكل محتوى الوثيقة، في ملف PDF. يحتفظ Aspose.Cells بمعلومات حول الهيكل من وثيقة Microsoft Excel مثل الخلية والصف والجدول والصفحة والصورة والشكل والتذييل/الرأس، إلخ.

مع الخيار PdfSaveOptions.ExportDocumentStructure، يمكنك حفظ PDF بوسمة مع هيكل الوثيقة المصدر.

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