poIImagePlane SetZoom
Activate the Zoom function of a 2D image plane.
Syntax
poIImageplane_handle SetZoom val
Application
HyperView Tcl Modify
Description
This command sets the Zoom display option of a 2D image plane to the input value. When the zoom function is active for the image plane, it can be zoomed in/out as 3D models.
Inputs
- val
- A Boolean value to determine if the Zoom display option is set to the 2D image plane. When it is true, Zoom is active. When it is false, Zoom is inactive.
Example
hwi OpenStack
hwi GetSessionHandle session_handle
session_handle GetProjectHandle project_handle
project_handle GetPageHandle page_handle [project_handle GetActivePage]
page_handle GetWindowHandle window_handle [page_handle GetActiveWindow]
window_handle GetClientHandle client_handle
client_handle GetImagePlaneCtrlHandle ipc_handle
ipc_handle GetImagePlaneHandle image_plane_handle 1
image_plane_handle SetFileName “some file”
image_plane_handle SetZoom true
hwi CloseStack
Errors
Returns HW_InvalidHandle if the view handle is invalid.