VerticalAlignment Property

NI Vision for Visual Basic

VerticalAlignment Property

Syntax

CWIMAQTextOptions.VerticalAlignment

Data Type

CWIMAQVerticalTextAlignments

You can use the following constants with this data type:

  • cwimaqVerticalTextAlignmentBaseline—Indicates that the origin point is on the baseline.
  • cwimaqVerticalTextAlignmentBottom—Indicates that the origin point is below the baseline (i.e. the text is above the origin).
  • cwimaqVerticalTextAlignmentTop—Indicates that the origin point is above the baseline (i.e. the text is below the origin).

Purpose

Vertical alignment of the text. The default is cwimaqVerticalTextAlignmentBottom.