Function ProTextColorModify
Description
Enables you to change the text color so any subsequent graphics window text is drawn in the specified color.
Replacement in Object TOOLKIT:
Synopsis
#include <ProColor.h>
ProTextColorModify
(
ProColor* new_text_color
/* (In)
The new color to use to display text. If the color method is PRO_COLOR_METHOD_DEFAULT, the color used will be PRO_TEXT_COLOR. May be NULL, in which case the current text color will be returned.
*/
ProColor* p_old_text_color
/* (Out)
The previous text color. May be NULL.
*/
)
Returns
The function successfully changed the color.
The current color is the same as the new color.
One or more of the input arguments are invalid.
Sample Code References
User Guide References
Est-ce que cela a été utile ?