SoTextPropertystyleColors Property |
Specifies the color to use for each style.
Namespace: OIV.Inventor.Nodes
Use the index values defined in the StyleColor enum (NOT the Style enum) to assign the color to the desired style. For example, assign opaque red to the underline color.
SoTextProperty node = new SoTextProperty(); node.styleColors.Set1Value( (int)SoTextProperty.StyleColorType.UNDERLINE_COLOR, new SbColorRGBA(1,0,0,1) );
NOTE: field available since Open Inventor 8.1