Category Graphics and model display, Object ProText

Function ProTextColorSet


DEPRECATED: Since Wildfire 5.0
SUPERSEDED BY: ProTextColorModify
Description
Enables you to change the text color so any subsequent graphics window text is drawn in the specified color.

NOTE:

This function is deprecated. Use ProTextColorModify instead.

Replacement in Object TOOLKIT: pfcBaseSession::SetTextColor
Synopsis
#include <ProColor.h>
ProErrorProTextColorSet(
ProColortype new_text_color
/* (In)
The new color to use to display text. The default color is yellow.
*/
ProColortype* p_old_text_color
/* (Out)
The previous text color. May be NULL.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully changed the color.
PRO_TK_NO_CHANGEThe current color is the same as the new color.

Manual References:

  1. Pro/DEVELOP to Creo Toolkit Function Mapping: Equivalent Pro/DEVELOP Functions