query_paintT_query_paintQueryPaintQueryPaint (Operator)
Name
query_paintT_query_paintQueryPaintQueryPaint
— Query the gray value display modes.
Signature
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
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
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