7.29. TexAlignment Property

Description

Returns or sets a value indicating how the human readable text is aligned.

Remarks

This property controls how the text in the human readable portion is aligned. Valid alignment choices are:

Table 7.6. TexAlignment options

Constant Value Description
mbxAlignLeft 0 Left alignment (default). Align the text with left edge of the comment box.
mbxAlignRight 1 Right alignment. Align the text with the right edge of the comment box.
mbxAlignCenter 2 Center alignment. Align the text with the center of the comment box
mbxAlignJustify 3 Justify alignment. Align the text to both edge of the comment box.

Because of the unique character arrangement in UPC/EAN symbologies, this property does not apply to those symbologies: UPC-A, UPC-E, EAN-13 and EAN-8.

The barcodes below illustrate the effects of TexAlignment:

See Also

Section 7.16, “Font Property”

Section 7.26, “ShowHRText Property”