Skip to content

DetachedWindow.Left

property · DetachedWindow · cAlgo.API

DesktopCLICloud

Get / Set window left margin (X)

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 Left {get; set;}
detachedWindow.Left: float

Returns double

Examples

var block = Asp.SymbolTab.AddBlock("Signals");
block.DetachedWindow.Left = 200;
Print("Detached window left: {0}", block.DetachedWindow.Left);
block = api.Asp.SymbolTab.AddBlock("Signals")
block.DetachedWindow.Left = 200
api.Print(f"Detached window left: {block.DetachedWindow.Left}")