Convert Excel to HTML with tooltip using C++
Contents
[
Hide
]
Convert Excel to HTML with tooltip
There might be cases where the text is cut off in the generated HTML and you want to display the complete text as a tooltip on the hover event. Aspose.Cells supports this by providing HtmlSaveOptions.GetAddTooltipText() property. Setting the HtmlSaveOptions.GetAddTooltipText() property to true will add the complete text as a tooltip in the generated HTML.
The following image shows the tooltip in the generated HTML file.
The following code sample loads the source excel file and generates the output HTML file with the tooltip.
Sample Code