Category Graphics and model display, Object ProColormap

Function ProColormapSet


Description
Enables you to set the values of the three color components for a specified color value.
Replacement in Object TOOLKIT: pfcBaseSession::SetStdColorFromRGB
Synopsis
#include <ProColor.h>
ProErrorProColormapSet(
ProColortype color_type
/* (In)
The color type
*/
ProColormap* color
/* (In)
The RGB value
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully set the color values.
PRO_TK_BAD_INPUTSEither the color identifier is invalid or the color is NULL.

Manual References:

  1. Pro/DEVELOP to Creo Toolkit Function Mapping: Equivalent Pro/DEVELOP Functions
  2. User Interface: Basic Graphics: Setting Colors to Match Existing Entities
  3. User Interface: Basic Graphics: Setting Colors to Match Existing Entities

Sample Code References:

  1. pt_examples ( TestGraphics.c )