Ets_Gui_Color_To_String()
Note: Requires OPNET Development Kit
Abstract
Converts an attribute color value into a color string.
Syntax
Ets_Gui_Color_To_String (color, str_buffer)
| Argument | Type | Description |
|---|---|---|
color |
EtsT_Color |
Color value to convert. |
str_buffer |
char * |
Pointer to area to be filled with the converted color string. (Must be allocated >= 32 characters.) |
Return Type
EtsT_Compcode
EtsC_Compcode_Failure if a color value could not be obtained. In that event, color_ptr points to RGB000 (black). Otherwise, it returns EtsC_Compcode_Success.
Header
ets_api_gui.h
Details
This function converts an attribute color value into a color string. Note that the str_buffer must have at least 32 characters allocated.