ClassesClassesClassesClasses | | | | Operators

query_grayT_query_grayQueryGrayquery_grayQueryGrayQueryGray (Operator)

Name

query_grayT_query_grayQueryGrayquery_grayQueryGrayQueryGray — Query the displayable gray values.

Signature

query_gray( : : WindowHandle : Grayval)

Herror T_query_gray(const Htuple WindowHandle, Htuple* Grayval)

Herror query_gray(const HTuple& WindowHandle, HTuple* Grayval)

HTuple HWindow::QueryGray() const

void QueryGray(const HTuple& WindowHandle, HTuple* Grayval)

HTuple HWindow::QueryGray() const

void HOperatorSetX.QueryGray(
[in] VARIANT WindowHandle, [out] VARIANT* Grayval)

VARIANT HWindowX.QueryGray()

static void HOperatorSet.QueryGray(HTuple windowHandle, out HTuple grayval)

HTuple HWindow.QueryGray()

Description

query_grayquery_grayQueryGrayquery_grayQueryGrayQueryGray returns all gray values that are used for gray value output (disp_imagedisp_imageDispImagedisp_imageDispImageDispImage) and that can be reproduced exactly in the window. They can be set with the set_grayset_graySetGrayset_graySetGraySetGray call. The number of displayable gray values can be set with set_system(::'num_gray_*',...:)set_system("num_gray_*",...)SetSystem("num_gray_*",...)set_system("num_gray_*",...)SetSystem("num_gray_*",...)SetSystem("num_gray_*",...) before opening the first window.

Parallelization

Parameters

WindowHandleWindowHandleWindowHandleWindowHandleWindowHandlewindowHandle (input_control)  window HWindow, HTupleHTupleHTupleHWindowX, VARIANTHtuple (integer) (IntPtr) (Hlong) (Hlong) (Hlong) (Hlong)

Window_id.

GrayvalGrayvalGrayvalGrayvalGrayvalgrayval (output_control)  integer-array HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

Tuple of all displayable gray values.

Result

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

Possible Successors

set_grayset_graySetGrayset_graySetGraySetGray, disp_regiondisp_regionDispRegiondisp_regionDispRegionDispRegion

See also

set_grayset_graySetGrayset_graySetGraySetGray, disp_imagedisp_imageDispImagedisp_imageDispImageDispImage

Module

Foundation


ClassesClassesClassesClasses | | | | Operators