query_paint ( : : WindowHandle : Mode )

Query the grayvalue display modes.

query_paint returns the names of all grayvalue display modes (e.g. 'gray', '3D-plot', 'contourline', etc.) for the output window. These modes are used by set_paint. query_paint only returns the names of the display values, not the additional parameters that may be necessary for some modes.


Parameters

WindowHandle (input_control)
window -> integer
Window_id.

Mode (output_control)
string-array -> string
Grayvalue display mode names.


Result

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


Parallelization Information

query_paint is reentrant, local, and processed without parallelization.


Possible Successors

get_paint, set_paint, disp_image


See also

set_paint, get_paint, disp_image


Module

Foundation



Copyright © 1996-2008 MVTec Software GmbH