Araç ipucu ile Excel'i HTML'e dönüştürün
Contents
[
Hide
]
Araç ipucu ile Excel’i HTML’e dönüştürün
Oluşturulan HTML’de metnin kesildiği ve tüm metni hover olayında bir araç ipucu olarak görüntülemek istediğiniz durumlar olabilir. Aspose.Cells bunu sağlayarak destekler**HtmlSaveOptions.AddTooltipText** Emlak. ayarlamak**HtmlSaveOptions.AddTooltipText** mülkiyet**doğru** oluşturulan HTML’de tam metni bir araç ipucu olarak ekleyecektir.
Aşağıdaki resimde, oluşturulan HTML dosyasındaki araç ipucu gösterilmektedir.
Aşağıdaki kod örneği,kaynak excel dosyası ve oluştururçıktı HTML dosyası araç ipucu ile.
Basit kod
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 | |
// Open the template file | |
Workbook workbook = new Workbook(sourceDir + "AddTooltipToHtmlSample.xlsx"); | |
HtmlSaveOptions options = new HtmlSaveOptions(); | |
options.AddTooltipText = true; | |
// Save as Markdown | |
workbook.Save(outputDir + "AddTooltipToHtmlSample_out.html", options); |