Shape.HtmlText
Shape.HtmlText property
Gets and sets the html string which contains data and some formats in this textbox.
public string HtmlText { get; set; }
Examples
[C#]
string html = shape.HtmlText;
if(html == null || html == "")
{
shape.HtmlText = "<Font Style='FONT-FAMILY: Calibri;FONT-SIZE: 11pt;COLOR: #0000ff;TEXT-ALIGN: left;'>This is a <b>test</b>.</Font>";
}
See Also
- class Shape
- namespace Aspose.Cells.Drawing
- assembly Aspose.Cells