SoTextPropertyalignmentV Property |
Indicates vertical placement and alignment of strings.
Namespace: OIV.Inventor.Nodes
Use the OIV.Inventor.Nodes.SoTextProperty.AlignmentVs enum. Default is BASE. With TOP alignment, the top edge of the first line is at the (transformed) origin, and all top edges are aligned. BOTTOM alignment is similar. HALF alignment places the center of the first string at the (transformed) origin, with the centers of all remaining strings aligned under it. Default value can be changed using the environment variable OIV_TEXT_ALIGNMENTV. When orientation is horizontal, vertical alignment is only applied on the first line.