Herror ::query_paint (
    const HTuple &WindowHandle,
    HTuple *Mode
)
HTuple HWindow::QueryPaint (
    
) const

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 -> HTuple.long
Window_id.

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


Result

::query_paint returns H_MSG_TRUE if the window is valid. Otherwise an exception handling is raised.


Possible Successors

::get_paint, ::set_paint, ::disp_image


See also

::set_paint, ::get_paint, ::disp_image


Module

System



Copyright © 1996-2002 MVTec Software GmbH