Skip to content

DetachedWindow.MaxHeight

property · DetachedWindow · cAlgo.API

DesktopCLICloud

Get / Set the window maximum height

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

Returns double

Examples

var block = Asp.SymbolTab.AddBlock("Signals");
block.DetachedWindow.MaxHeight = 800;
Print("Detached window maximum height: {0}", block.DetachedWindow.MaxHeight);
block = api.Asp.SymbolTab.AddBlock("Signals")
block.DetachedWindow.MaxHeight = 800
api.Print(f"Detached window maximum height: {block.DetachedWindow.MaxHeight}")