set_coloredT_set_coloredSetColoredSetColoredset_colored (算子名称)
名称
set_coloredT_set_coloredSetColoredSetColoredset_colored — Set multiple output colors.
参数签名
描述
set_coloredset_coloredSetColoredSetColoredSetColoredset_colored is a shortcut for certain
set_colorset_colorSetColorSetColorSetColorset_color calls. It allows the user to display a region
set in different colors. NumberOfColorsNumberOfColorsNumberOfColorsNumberOfColorsnumberOfColorsnumber_of_colors defines the
number of colors that are used. Valid values for
NumberOfColorsNumberOfColorsNumberOfColorsNumberOfColorsnumberOfColorsnumber_of_colors can be queried with
query_coloredquery_coloredQueryColoredQueryColoredQueryColoredquery_colored.
运行信息
- 多线程类型:可重入(与非独占操作符并行运行)。
- 多线程作用域:全局(可以从任何线程调用)。
- 未经并行化处理。
参数表
WindowHandleWindowHandleWindowHandleWindowHandlewindowHandlewindow_handle (input_control) window → HWindow, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Window handle.
NumberOfColorsNumberOfColorsNumberOfColorsNumberOfColorsnumberOfColorsnumber_of_colors (input_control) integer → HTupleintHTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Number of output colors.
Default:
12
List of values:
3, 6, 12
结果
set_coloredset_coloredSetColoredSetColoredSetColoredset_colored returns 2 (
H_MSG_TRUE)
if NumberOfColorsNumberOfColorsNumberOfColorsNumberOfColorsnumberOfColorsnumber_of_colors
is correct and the window is valid. Otherwise an exception is
raised.
可能的前置算子
query_coloredquery_coloredQueryColoredQueryColoredQueryColoredquery_colored,
set_colorset_colorSetColorSetColorSetColorset_color
可能的后置算子
disp_regiondisp_regionDispRegionDispRegionDispRegiondisp_region
参考其它
query_coloredquery_coloredQueryColoredQueryColoredQueryColoredquery_colored,
set_colorset_colorSetColorSetColorSetColorset_color,
disp_regiondisp_regionDispRegionDispRegionDispRegiondisp_region
模块
Foundation