Specifies the horizontal alignment of the content of text-based objects.

Namespace:  DYMO.Label.Framework
Assembly:  DYMO.Label.Framework (in DYMO.Label.Framework.dll) Version: 1.0.0.0 (8.4.0.1475)

Syntax

C#
public enum TextAlignment
Visual Basic (Declaration)
Public Enumeration TextAlignment
Visual C++
public enum class TextAlignment

Members

Member nameValueDescription
Left0 Text is left aligned.
Center1 Text is centered.
CenterBlock2 Lines are left aligned, but the starting position of each line is calculated as follows:
(ObjectWidth - MaxLineWidth) / 2. In other words, the longest line is centered and all other lines are left-aligned against the longest line.
Right3 Text is right aligned.

Remarks

Note: For RightToLeft flow, 'left' means 'right' and 'right' means 'left'.

See Also