Skip to content

TradeWatchTab.Width

property · TradeWatchTab · cAlgo.API

DesktopCLICloud

Returns current width of tab.

Environment behaviour

CLI — not supported. Available to plugins only, and plugins cannot run in the CLI.

Cloud — not supported. Available to plugins only, and plugins cannot run in the cloud.

Definition

double Width {get;}
tradeWatchTab.Width: float

Returns double

Examples

var tab = TradeWatch.AddTab("My Tab");
Print("Tab width: {0}", tab.Width);
tab = api.TradeWatch.AddTab("My Tab")
api.Print(f"Tab width: {tab.Width}")