Excel'i HTML'e Dönüştürürken DataBar, ColorScale ve IconSet Koşullu Biçimlendirmeyi Dışa Aktarma

Excel’i HTML’e Dönüştürürken DataBar, ColorScale ve IconSet Koşullu Biçimlendirmeyi Dışa Aktarma

Aşağıdaki ekran görüntüsüörnek excel dosyası DataBar, ColorScale ve IconSet Koşullu Biçimlendirme ile. indirebilirsinizörnek excel dosyası verilen linkten

yapılacaklar:resim_alternatif_metin

Aşağıdaki ekran görüntüsü, DataBar, ColorScale ve IconSet Koşullu Biçimlendirmeyi gösteren Aspose.Cells çıkış HTML dosyasını gösterir. Gördüğünüz gibi, tam olarak benziyorörnek excel dosyası.

yapılacaklar:resim_alternatif_metin

Basit kod

Aşağıdaki örnek kod, örnek excel dosyasını normal bir değer olan HTML’e dönüştürür.Excel’den HTML’e dönüştürme.

// 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);