ClassesClassesClassesClasses | | | | Operators

query_paintT_query_paintQueryPaintquery_paintQueryPaintQueryPaint (Operator)

Name

query_paintT_query_paintQueryPaintquery_paintQueryPaintQueryPaint — Query the gray value display modes.

Signature

query_paint( : : WindowHandle : Mode)

Herror T_query_paint(const Htuple WindowHandle, Htuple* Mode)

Herror query_paint(const HTuple& WindowHandle, HTuple* Mode)

HTuple HWindow::QueryPaint() const

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

HTuple HWindow::QueryPaint() const

void HOperatorSetX.QueryPaint(
[in] VARIANT WindowHandle, [out] VARIANT* Mode)

VARIANT HWindowX.QueryPaint()

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

HTuple HWindow.QueryPaint()

Description

query_paintquery_paintQueryPaintquery_paintQueryPaintQueryPaint returns the names of all gray value display modes (e.g. 'gray', '3d_plot', 'contourline', etc.) for the output window. These modes are used by set_paintset_paintSetPaintset_paintSetPaintSetPaint. query_paintquery_paintQueryPaintquery_paintQueryPaintQueryPaint only returns the names of the display values, not the additional parameters that may be necessary for some modes.

Parallelization

Parameters

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

Window_id.

ModeModeModeModeModemode (output_control)  string-array HTupleHTupleHTupleVARIANTHtuple (string) (string) (HString) (char*) (BSTR) (char*)

Gray value display mode names.

Result

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

Possible Successors

get_paintget_paintGetPaintget_paintGetPaintGetPaint, set_paintset_paintSetPaintset_paintSetPaintSetPaint, disp_imagedisp_imageDispImagedisp_imageDispImageDispImage

See also

set_paintset_paintSetPaintset_paintSetPaintSetPaint, get_paintget_paintGetPaintget_paintGetPaintGetPaint, disp_imagedisp_imageDispImagedisp_imageDispImageDispImage

Module

Foundation


ClassesClassesClassesClasses | | | | Operators