Skip to content

AspBlock.Height

property · AspBlock · cAlgo.API

DesktopCLICloud

Get / set height of current block (default is 200).

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

Returns double

Examples

var block = Asp.SymbolTab.AddBlock("My Block");
block.Height = 300;
Print("Block height: {0}", block.Height);
block = api.Asp.SymbolTab.AddBlock("My Block")
block.Height = 300
api.Print(f"Block height: {block.Height}")