hwIWindow GetGraphicsHeight
Gets the height of the graphics window.
Syntax
hwIWindow_handle GetGraphicsHeight
Application
Tcl Query
Description
Returns the height of the graphics window in pixels.
Example
To set the page layout type as three horizontal
windows:
hwi OpenStack
hwi GetSessionHandle mySessionName
mySessionName ListMethods
mySessionName GetProjectHandle myProjectName
myProjectName GetPageHandle pageHandle [myProjectName GetActivePage]
pageHandle GetWindowHandle windowHandle [pageHandle GetActiveWindow]
set height [windowHandle GetGraphicsHeight]
hwi CloseStack
Error
Returns success (the height of window) or an error code.