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: 22.214.171.124 (126.96.36.1995)
public enum TextAlignment
|Visual Basic (Declaration)|
Public Enumeration TextAlignment
public enum class TextAlignment
|0||Text is left aligned.|
|1||Text is centered.|
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.
|3||Text is right aligned.|
Note: For RightToLeft flow, 'left' means 'right' and 'right' means 'left'.