عرض وظائف Office الإضافية أثناء تحويل Excel إلى PDF
Contents
[
Hide
]
سيناريوهات الاستخدام الممكنة
في وقت سابق ، تعذر على Aspose.Cells عرض وظائف Office الإضافية عند حفظ ملف Excel بتنسيق PDF. الآن Aspose.Cells يجعلها جيدة. لا تحتاج إلى استخدام أي طريقة أو خاصية خاصة لتقديم Office Add-Ins في الإخراج PDF. فقط احفظ ملف Excel بتنسيق PDF وسيؤدي إلى عرض Office Add-Ins.
عرض وظائف Office الإضافية أثناء تحويل Excel إلى PDF
نموذج التعليمات البرمجية التالي يحفظنموذج لملف Excel الذي يحتوي على وظائف Office الإضافية. الرجاء مراجعةالناتج PDF الذي تم إنشاؤه باستخدام الإصدار السابق أي 17.11 و التم إنشاء الإخراج PDF بإصدار أحدث أي 17.12 وما بعدهإخراج الإصدار السابق PDF فارغ ولكن إخراج الإصدار الأحدث PDF يُظهر وظيفة Office الإضافية.
عينة من الرموز
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
// For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-.NET | |
//Load the sample Excel file containing Office Add-Ins | |
Workbook wb = new Workbook("sampleRenderOfficeAdd-Ins.xlsx"); | |
//Save it to Pdf format | |
wb.Save("output-" + CellsHelper.GetVersion() + ".pdf"); |