Skip to content

Frame.Width

property · Frame · cAlgo.API

DesktopCLICloud

Returns current width of frame.

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;}
frame.Width: float

Returns double

Examples

var customFrame = ChartManager.AddCustomFrame("My Frame");
Print("Frame width: {0}", customFrame.Width);
customFrame = api.ChartManager.AddCustomFrame("My Frame")
api.Print(f"Frame width: {customFrame.Width}")