Skip to content

DetachedWindow.Width

property · DetachedWindow · cAlgo.API

DesktopCLICloud

Get / Set width of the window

Environment behaviour

CLI — not supported. Values start at 0 and are only stored in the algo; no window is read or changed.

Cloud — not supported. Values start at 0 and are only stored in the algo; no window is read or changed.

Definition

double Width {get; set;}
detachedWindow.Width: float

Returns double

Examples

var block = Asp.SymbolTab.AddBlock("Signals");
block.DetachedWindow.Width = 450;
Print("Detached window width: {0}", block.DetachedWindow.Width);
block = api.Asp.SymbolTab.AddBlock("Signals")
block.DetachedWindow.Width = 450
api.Print(f"Detached window width: {block.DetachedWindow.Width}")