DataBar, ColorScale ve IconSet Koşullu Biçimlendirmeyi Excel den HTML e Dönüşüm Sırasında Dışa Aktarın
Excel’den HTML’ye Databar, ColorScale ve IconSet Koşullu Biçimlendirmeyi Dışa Aktar
Aşağıdaki ekran görüntüsü, VeriÇubuğu, RenkÖlçeği ve SimgeSeti Koşullu Biçimlendirme ile örnek excel dosyasını göstermektedir. Verilen bağlantıdan örnek excel dosyasını indirebilirsiniz.
Aşağıdaki ekran görüntüsü, Aspose.Cells çıktı HTML dosyasını VeriÇubuğu, RenkÖlçeği ve SimgeSeti Koşullu Biçimlendirme göstermektedir. Gördüğünüz gibi, örnek excel dosyası‘yle tamamen aynı görünüyor.
Örnek Kod
Aşağıdaki örnek kod, örnek excel dosyasını HTML’e dönüştürür, normal bir Excel’den HTML’e dönüşümü olup.
// 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); |