Aspose::Cells::Drawing::Shape::GetHtmlText method
Shape::GetHtmlText method
Gets and sets the html string which contains data and some formats in this textbox.
U16String Aspose::Cells::Drawing::Shape::GetHtmlText()
Examples
U16String html = shape.GetHtmlText();
if (html.IsNull() || html.IsEmpty())
{
shape.SetHtmlText(u"<Font Style='FONT-FAMILY: Calibri;FONT-SIZE: 11pt;COLOR: #0000ff;TEXT-ALIGN: left;'>This is a <b>test</b>.</Font>");
}
See Also
- Class U16String
- Class Shape
- Namespace Aspose::Cells::Drawing
- Library Aspose.Cells for C++