DetachedWindow.MaxWidth
property · DetachedWindow · cAlgo.API
DesktopCLICloud
Get / Set the window maximum width
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 MaxWidth {get; set;}
detachedWindow.MaxWidth: float
Returns double
Examples
var block = Asp.SymbolTab.AddBlock("Signals");
block.DetachedWindow.MaxWidth = 900;
Print("Detached window maximum width: {0}", block.DetachedWindow.MaxWidth);
block = api.Asp.SymbolTab.AddBlock("Signals")
block.DetachedWindow.MaxWidth = 900
api.Print(f"Detached window maximum width: {block.DetachedWindow.MaxWidth}")