ChartStaticText.IsUnderlined
property · ChartStaticText · cAlgo.API Since 5.2
DesktopCLICloud
Gets or sets if the text is Underlined or not
Environment behaviour
CLI — works differently. Created and kept with all its properties, but never drawn: the CLI displays no chart.
Cloud — works differently. Created and kept with all its properties, but never drawn: the cloud displays no chart.
Definition
bool IsUnderlined {get; set;}
chartStaticText.IsUnderlined: bool
Returns bool
Examples
var text = Chart.DrawStaticText("info", SymbolName, VerticalAlignment.Top, HorizontalAlignment.Right, Color.White);
text.IsUnderlined = true;
Print("Static text is underlined: {0}", text.IsUnderlined);
text = api.Chart.DrawStaticText("info", api.SymbolName, VerticalAlignment.Top, HorizontalAlignment.Right, Color.White)
text.IsUnderlined = True
api.Print(f"Static text is underlined: {text.IsUnderlined}")