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’ye dönüştürür; bu sadece normal bir Excel’den HTML’ye dönüştürme işlemidir.
from aspose.cells import SaveFormat, Workbook | |
# For complete examples and data files, please go to https:# github.com/aspose-cells/Aspose.Cells-for-.NET | |
# The path to the documents directory. | |
dataDir = RunExamples.GetDataDir(".") | |
# Specify the file path | |
filePath = dataDir + "sample.xlsx" | |
# Load your sample excel file in a workbook object | |
wb = Workbook(filePath) | |
# Save it in HTML format | |
wb.save(dataDir + "ConvertingToHTMLFiles_out.html", SaveFormat.HTML) |