SoText2justification Property |
Specifies horizontal alignment of strings.
Namespace: OIV.Inventor.Nodes
With LEFT justification, the left edge of the first line is at the (transformed) origin, and all left edges are aligned. RIGHT justification is similar. CENTER justification places the center of the first string at the (transformed) origin, with the centers of all remaining strings aligned under it. Use enum OIV.Inventor.Nodes.SoText2.Justifications. Default is LEFT.
Both horizontal and vertical alignment can be specified using an OIV.Inventor.Nodes.SoTextProperty node. However the justification setting in this node overrides the horizontal setting in OIV.Inventor.Nodes.SoTextProperty unless this field is set to INHERITED.