get_compriseT_get_compriseGetCompriseGetComprise (Operator)

Name

get_compriseT_get_compriseGetCompriseGetComprise — Get the output treatment of an image matrix.

Warning

get_compriseget_compriseGetCompriseGetCompriseGetComprise is obsolete and is only provided for reasons of backward compatibility.

Signature

get_comprise( : : WindowHandle : Mode)

Herror T_get_comprise(const Htuple WindowHandle, Htuple* Mode)

void GetComprise(const HTuple& WindowHandle, HTuple* Mode)

static HString HInfo::GetComprise(const HWindow& WindowHandle)

static void HOperatorSet.GetComprise(HTuple windowHandle, out HTuple mode)

static string HInfo.GetComprise(HWindow windowHandle)

Description

get_compriseget_compriseGetCompriseGetCompriseGetComprise returns the output mode of gray values in the window WindowHandleWindowHandleWindowHandleWindowHandlewindowHandle that is used by disp_imagedisp_imageDispImageDispImageDispImage and disp_colordisp_colorDispColorDispColorDispColor. The output mode defines whether only the gray values of objects are displayed or the whole image is displayed. The query is used for temporary mode settings, i.e., the current mode is queried, then overwritten with (set_compriseset_compriseSetCompriseSetCompriseSetComprise) and finally reset.

Execution Information

Parameters

WindowHandleWindowHandleWindowHandleWindowHandlewindowHandle (input_control)  window HWindow, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Window handle.

ModeModeModeModemode (output_control)  string HTupleHTupleHtuple (string) (string) (HString) (char*)

Display mode for images.

Result

get_compriseget_compriseGetCompriseGetCompriseGetComprise returns 2 (H_MSG_TRUE) if the window is valid. Otherwise an exception is raised.

Possible Successors

set_compriseset_compriseSetCompriseSetCompriseSetComprise, disp_imagedisp_imageDispImageDispImageDispImage, disp_imagedisp_imageDispImageDispImageDispImage

See also

set_compriseset_compriseSetCompriseSetCompriseSetComprise, disp_imagedisp_imageDispImageDispImageDispImage, disp_colordisp_colorDispColorDispColorDispColor

Module

Foundation