تصدير التنسيق الشرطي DataBar و ColorScale و IconSet أثناء تحويل Excel إلى HTML
Contents
[
Hide
]
يمكنك تصدير تنسيق شرطي DataBar و ColorScale و IconSet أثناء تحويل ملف Excel إلى HTML. هذه الميزة مدعومة جزئيًا بواسطة Microsoft Excel ولكن Aspose.Cells يدعمها بالكامل.
تصدير التنسيق الشرطي DataBar و ColorScale و IconSet أثناء تحويل Excel إلى HTML
تُظهر لقطة الشاشة التالية ملفنموذج ملف اكسل باستخدام التنسيق الشرطي DataBar و ColorScale و IconSet. يمكنك تنزيل ملفنموذج ملف اكسل من الارتباط المحدد.
تُظهر لقطة الشاشة التالية الملف Aspose.Cells الناتج HTML الذي يُظهر DataBar و ColorScale و IconSet Conditional Formatting. كما ترى ، يبدو تمامًانموذج ملف اكسل.
عينة من الرموز
يقوم نموذج التعليمات البرمجية التالي بتحويل ملف Excel النموذجي إلى HTML وهو أمر عاديExcel لتحويل HTML.
This file contains 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 | |
// The path to the documents directory. | |
string dataDir = RunExamples.GetDataDir(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); | |
// Specify the file path | |
string filePath = dataDir + "sample.xlsx"; | |
// Load your sample excel file in a workbook object | |
Workbook wb = new Workbook(filePath); | |
// Save it in HTML format | |
wb.Save(dataDir + "ConvertingToHTMLFiles_out.html", SaveFormat.Html); |