Category Graphics and model display, Object ProText

Function ProTextStyleColorGetWithDef


Description
Obtains The color applied to this text style.
Synopsis
#include <ProNote.h>
ProErrorProTextStyleColorGetWithDef(
ProTextStyle text_style
/* (In)
The text style.
*/
ProColor* color
/* (Out)
The color. If color method is PRO_COLOR_METHOD_DEFAULT its value will be null. If color method is PRO_COLOR_METHOD_TYPE its value is ProColortype. If color method is PRO_COLOR_METHOD_RGB its value is ProColormap
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more input arguments was invalid.

Manual References:

  1. Drawings: Detail Note Data
  2. Drawings: Detail Note Data
  3. Annotations: Annotation Features and Annotations: Text Style Properties
  4. Annotations: Annotation Features and Annotations: Text Style Properties

Sample Code References:

  1. pt_examples ( TestDtlnote.c )
  2. pt_examples ( TestSymDefMenu.c )