set_window_extents — 修改窗口的位置和大小。
set_window_extents( : : WindowHandle, Row, Column, Width, Height : )
set_window_extents positions the upper left corner of the
output window at (Row,Column) and changes the size of the
window to Width and Height at the same time. Negative
values for Width and Height are ignored.
Adapting the size of the window to the size of the image part to be displayed will prevent slowing down the display due to necessary interpolations. Thus, the window preferably has the same size as the image part to be displayed, or otherwise half its size, quarter its size, etc.
Modifying the size of the window does not automatically redraw the window contents. This has to be done by the program by redisplaying the desired data.
WindowHandle (输入控制) window → (handle)
窗口句柄。
Row (输入控制) rectangle.origin.y → (integer)
Row index of upper left corner in target position.
默认值: 0
值范围:
Row
(lin)
最小增量: 1
建议增量: 1
Column (输入控制) rectangle.origin.x → (integer)
Column index of upper left corner in target position.
默认值: 0
值范围:
Column
(lin)
最小增量: 1
建议增量: 1
Width (输入控制) rectangle.extent.x → (integer)
Width of the window.
默认值: 512
值范围:
Width
(lin)
最小增量: 1
建议增量: 1
Height (输入控制) rectangle.extent.y → (integer)
Height of the window.
默认值: 512
值范围:
Height
(lin)
最小增量: 1
建议增量: 1
If the window is valid and the parameters are correct
set_window_extents 返回 2 ( H_MSG_TRUE )。如有必要,则抛出异常。
get_window_extents,
open_window
基础