Skip to content

Window.Height

property · Window · cAlgo.API

DesktopCLICloud

Get / Set height of the Window

Environment behaviour

CLI — not supported. Never shown: Show, Hide and Close send nothing; IsVisible stays false and window events never fire.

Cloud — not supported. Never shown: Show, Hide and Close send nothing; IsVisible stays false and window events never fire.

Definition

public double Height {get; set;}
window.Height: float

Returns double

Examples

var window = new Window { Title = "Tall window", Width = 250, Height = 500 };
window.Show();
Print("Height: {0}", window.Height);
window = Window()
window.Title = "Tall window"
window.Width = 250
window.Height = 500
window.Show()
api.Print(f"Height: {window.Height}")