SET_WINDOW_SIZE ​
SET_WINDOW_SIZE sets the size of the model window with the passed modelid.
Syntax ​
leo-grammar
CC "Modeling" SET_WINDOW_SIZE [ modelid:idValue ] w:intValue h:intValue .
--> RESULT ecode:intValue
Parameters ​
modelid
(idValue) -w
(intValue) -h
(intValue) -
Returns ​
ecode
(intValue) - the return variable ecode is set to 0 if setting worked, to 1 if an error occured.
Details ​
If no modelid is passed, the current active model will be taken. The passed width value w and the height value h are pixel.
See Also ​
Examples ​
asc
CC "Modeling" SET_WINDOW_POS x:0 y:0
CC "Modeling" GET_MAX_MODEL_WINDOW_SIZE
CC "Modeling" SET_WINDOW_SIZE w:(w) h:(h)
Resizes the current model window to fit the whole ADOxx window.
Versions and Changes ​
Available since ADOxx 1.3