Click or drag to resize
SoTextPropertystyleColorsUseCurrentMaterial Property

This field allows to use the current OIV.Inventor.Nodes.SoMaterial instead of the value specified by OIV.Inventor.Nodes.SoTextProperty.styleColors for each available style (default gray).

Namespace: OIV.Inventor.Nodes
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public SoMFBool styleColorsUseCurrentMaterial { get; }

Property Value

Type: SoMFBool
Remarks

For example, if the entry corresponding to UNDERLINE_COLOR is set to true, underline will be rendered using the color inherited from OIV.Inventor.Nodes.SoMaterial. This is convenient if (as usual) the underline should be the same color as the text. Use the index values defined in the OIV.Inventor.Nodes.SoTextProperty.StyleColorType enum (NOT the OIV.Inventor.Nodes.SoTextProperty.Styles enum) to set the value for the desired style (see example code for OIV.Inventor.Nodes.SoTextProperty.styleColors field).

Note Note

Field available since Open Inventor 9.4

See Also