ClassesClassesClassesClasses | | | | Operators

query_coloredT_query_coloredQueryColoredquery_coloredQueryColoredQueryColored (Operator)

Name

query_coloredT_query_coloredQueryColoredquery_coloredQueryColoredQueryColored — Query the number of colors for color output.

Signature

query_colored( : : : PossibleNumberOfColors)

Herror T_query_colored(Htuple* PossibleNumberOfColors)

Herror query_colored(HTuple* PossibleNumberOfColors)

void QueryColored(HTuple* PossibleNumberOfColors)

static HTuple HInfo::QueryColored()

void HOperatorSetX.QueryColored([out] VARIANT* PossibleNumberOfColors)

VARIANT HInfoX.QueryColored()

static void HOperatorSet.QueryColored(out HTuple possibleNumberOfColors)

static HTuple HInfo.QueryColored()

Description

query_coloredquery_coloredQueryColoredquery_coloredQueryColoredQueryColored returns all possible parameter values for set_coloredset_coloredSetColoredset_coloredSetColoredSetColored. set_coloredset_coloredSetColoredset_coloredSetColoredSetColored defines how many colors are used for region or graphics output.

Parallelization

Parameters

PossibleNumberOfColorsPossibleNumberOfColorsPossibleNumberOfColorsPossibleNumberOfColorsPossibleNumberOfColorspossibleNumberOfColors (output_control)  integer-array HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

Tuple of the possible numbers of colors.

Example (HDevelop)

regiongrowing(Image,Seg,5,5,6,100)
query_colored(Colors)
set_colored(WindowHandle,Colors[1])
disp_region(Seg,WindowHandle)

Example (C)

Htuple Colors ;
regiongrowing(Image,&Seg,5,5,6,100) ;
T_query_colored(&Colors) ;
set_colored(WindowHandle,get_i(Colors,1)) ;
disp_region(Seg,WindowHandle) ;

Example (HDevelop)

regiongrowing(Image,Seg,5,5,6,100)
query_colored(Colors)
set_colored(WindowHandle,Colors[1])
disp_region(Seg,WindowHandle)

Example (HDevelop)

regiongrowing(Image,Seg,5,5,6,100)
query_colored(Colors)
set_colored(WindowHandle,Colors[1])
disp_region(Seg,WindowHandle)

Example (HDevelop)

regiongrowing(Image,Seg,5,5,6,100)
query_colored(Colors)
set_colored(WindowHandle,Colors[1])
disp_region(Seg,WindowHandle)

Example (HDevelop)

regiongrowing(Image,Seg,5,5,6,100)
query_colored(Colors)
set_colored(WindowHandle,Colors[1])
disp_region(Seg,WindowHandle)

Result

query_coloredquery_coloredQueryColoredquery_coloredQueryColoredQueryColored always returns 2 (H_MSG_TRUE).

Possible Successors

set_coloredset_coloredSetColoredset_coloredSetColoredSetColored, set_colorset_colorSetColorset_colorSetColorSetColor, disp_regiondisp_regionDispRegiondisp_regionDispRegionDispRegion

Alternatives

query_colorquery_colorQueryColorquery_colorQueryColorQueryColor

See also

set_coloredset_coloredSetColoredset_coloredSetColoredSetColored, set_colorset_colorSetColorset_colorSetColorSetColor

Module

Foundation


ClassesClassesClassesClasses | | | | Operators