ClassesClasses | | Operators

query_paintT_query_paintQueryPaintQueryPaint (Operator)

Name

query_paintT_query_paintQueryPaintQueryPaint — Query the gray value display modes.

Signature

query_paint( : : WindowHandle : Mode)

Herror T_query_paint(const Htuple WindowHandle, Htuple* Mode)

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

HTuple HWindow::QueryPaint() const

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

HTuple HWindow.QueryPaint()

Description

query_paintquery_paintQueryPaintQueryPaintQueryPaint 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_paintSetPaintSetPaintSetPaint. query_paintquery_paintQueryPaintQueryPaintQueryPaint only returns the names of the display values, not the additional parameters that may be necessary for some modes.

Execution Information

Parameters

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

Window handle.

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

Gray value display mode names.

Result

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

Possible Successors

get_paintget_paintGetPaintGetPaintGetPaint, set_paintset_paintSetPaintSetPaintSetPaint, disp_imagedisp_imageDispImageDispImageDispImage

See also

set_paintset_paintSetPaintSetPaintSetPaint, get_paintget_paintGetPaintGetPaintGetPaint, disp_imagedisp_imageDispImageDispImageDispImage

Module

Foundation


ClassesClasses | | Operators