poIImagePlane GetFit
Gets the condition of the Fit display option form the current 2D image plane.
Syntax
Imageplane_handle GetFit
Application
HyperView Tcl Query
Description
This command returns the condition the Fit display option of a 2D image plane. If the return value is true, it means “Fit” is applied to this image plane. Otherwise false is returned.
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"
set fit_condition [image_plane_handle GetFit]
hwi CloseStack
Errors
Returns HW_InvalidHandle if the image plane handle is invalid.