رسم المنقي أثناء تحويل Excel إلى PDF
Contents
[
Hide
]
كيفية رسم المفصل أثناء تقديم Excel إلى PDF باستخدام مكتبة Aspose.Cells for Python Excel
إذا كان لديك ملف Excel تم تطبيق مفصل عليه وترغب في تصدير Excel إلى PDF مع إعدادات المفصل، تدعم الآن Aspose.Cells for Python via .NET هذا افتراضيًا. كل ما عليك فعله هو تصدير ملف Excel مع المفصل إلى PDF، سيعرض PDF المولد المفصل المطبق.
الكود العيني
الكود المثالي
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from aspose.cells import SaveFormat, Workbook | |
# For complete examples and data files, please go to https:# github.com/aspose-cells/Aspose.Cells-for-.NET | |
workbook = Workbook(sourceDir + "SampleSlicerChart.xlsx") | |
workbook.save(outputDir + "SampleSlicerChart.pdf", SaveFormat.PDF) |