ClassesClasses | | Operators

query_grayT_query_grayQueryGrayQueryGray (Operator)

Name

query_grayT_query_grayQueryGrayQueryGray — Query the displayable gray values.

Signature

query_gray( : : WindowHandle : Grayval)

Herror T_query_gray(const Htuple WindowHandle, Htuple* Grayval)

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

HTuple HWindow::QueryGray() const

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

HTuple HWindow.QueryGray()

Description

query_grayquery_grayQueryGrayQueryGrayQueryGray returns all gray values that are used for gray value output (disp_imagedisp_imageDispImageDispImageDispImage) and that can be reproduced exactly in the window. They can be set with the set_grayset_graySetGraySetGraySetGray call.

Execution Information

Parameters

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

Window handle.

GrayvalGrayvalGrayvalGrayvalgrayval (output_control)  integer-array HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Tuple of all displayable gray values.

Result

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

Possible Successors

set_grayset_graySetGraySetGraySetGray, disp_regiondisp_regionDispRegionDispRegionDispRegion

See also

set_grayset_graySetGraySetGraySetGray, disp_imagedisp_imageDispImageDispImageDispImage

Module

Foundation


ClassesClasses | | Operators