ClassesClassesClassesClasses | | | | Operators

query_all_colorsT_query_all_colorsQueryAllColorsquery_all_colorsQueryAllColorsQueryAllColors (Operator)

Name

query_all_colorsT_query_all_colorsQueryAllColorsquery_all_colorsQueryAllColorsQueryAllColors — Query all color names.

Signature

query_all_colors( : : WindowHandle : Colors)

Herror T_query_all_colors(const Htuple WindowHandle, Htuple* Colors)

Herror query_all_colors(const HTuple& WindowHandle, HTuple* Colors)

HTuple HWindow::QueryAllColors() const

void QueryAllColors(const HTuple& WindowHandle, HTuple* Colors)

HTuple HWindow::QueryAllColors() const

void HOperatorSetX.QueryAllColors(
[in] VARIANT WindowHandle, [out] VARIANT* Colors)

VARIANT HWindowX.QueryAllColors()

static void HOperatorSet.QueryAllColors(HTuple windowHandle, out HTuple colors)

HTuple HWindow.QueryAllColors()

Description

query_all_colorsquery_all_colorsQueryAllColorsquery_all_colorsQueryAllColorsQueryAllColors returns the names of all colors that are known to HALCON. That doesn't mean that these colors are available for specific screens. On some screens there may only be a subset of colors available (see query_colorquery_colorQueryColorquery_colorQueryColorQueryColor). The HALCON colors are used to display regions (disp_regiondisp_regionDispRegiondisp_regionDispRegionDispRegion, disp_polygondisp_polygonDispPolygondisp_polygonDispPolygonDispPolygon, disp_circledisp_circleDispCircledisp_circleDispCircleDispCircle, etc.). They can be defined with set_colorset_colorSetColorset_colorSetColorSetColor.

Parallelization

Parameters

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

Window handle.

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

Color names.

Result

query_all_colorsquery_all_colorsQueryAllColorsquery_all_colorsQueryAllColorsQueryAllColors always returns 2 (H_MSG_TRUE)

Possible Successors

set_systemset_systemSetSystemset_systemSetSystemSetSystem, set_colorset_colorSetColorset_colorSetColorSetColor, disp_regiondisp_regionDispRegiondisp_regionDispRegionDispRegion

See also

query_colorquery_colorQueryColorquery_colorQueryColorQueryColor, set_systemset_systemSetSystemset_systemSetSystemSetSystem, set_colorset_colorSetColorset_colorSetColorSetColor, disp_regiondisp_regionDispRegiondisp_regionDispRegionDispRegion, open_windowopen_windowOpenWindowopen_windowOpenWindowOpenWindow

Module

Foundation


ClassesClassesClassesClasses | | | | Operators