api_get_graph_color_name_by_index()

Returns the name of the color for the given color index; null if not found.

See also: api_get_graph_color_index_by_name(), api_get_current_window(),api_get_window_graph().

Syntax:

api_get_graph_color_name_by_index(graphH, colorIndex);

where

graphH is a handle to the window graphics area, as returned from api_get_window_graph().

colorIndex is the color index (integer >= 0).

Example:
decl winInst, graphH, colorName;
winInst = api_get_current_window();
graphH = api_get_window_graph (winInst);
colorName = api_get_graph_color_name_by_index (graphH, 1);
Where Used:

Graphical user interface

 

Privacy Statement  | Terms of Use  | Legal | Contact Us  | © Agilent 2000-2008 

Contents
Additional Resources