Returns the size of a panel (width and height). |
Synopsis
dyn_int getPanelSize( string fileName) |
Parameters
Parameter |
Meaning |
filename |
Name of the panel for saving |
Return value
In event of an error, the function returns an empty integer ("0 items"). |
Error
Missing arguments, wrong or non existing panels. |
Description
Returns the size of a panel (width and height). The first value is the width of the panel and the second value is the height. |
Example |
main() { dyn_int x; x=getPanelSize("examples/childpanelon"); DebugN(x); //[dyn_int 2 items 1:600 2:400 ]> width 600 height 400 } |
Assignment
Graphics functions |
Availability
UI |
See also
V 3.11 SP1
Copyright