poIImagePlane GetZoom

Gets the condition of the Zoom display option from the current 2D image plane.

Syntax

poIImageplane_handle GetZoom

Application

HyperView Tcl Query

Description

This command gets the condition of the Zoom display option of a 2D image plane. If the return value is true, it means the zoom function is active to this image plane, otherwise false is returned. When zoom is active, the image plane can be zoomed in/out as 3D models.

\

Example

To get the Zoom condition of a 2D image plane:
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"
set zoom_condition [image_plane_handle GetZoom]
hwi CloseStack

Error

Returns HW_InvalidHandle if the view handle is invalid.