Text Alignment Home

Text alignment relative to insertion point. The following LiteCAD constants can be used:

Constant Alignment
LC_TA_LEFBOT to left bottom corner
LC_TA_CENBOT to center of bottom line
LC_TA_RIGBOT to right bottom corner
LC_TA_LEFCEN to left side of vertical center line
LC_TA_CENTER to center of bounding rectangle
LC_TA_RIGCEN to right side of vertical center line
LC_TA_LEFTOP to left top corner
LC_TA_CENTOP to center top
LC_TA_RIGTOP to right top corner

Only for alignment between 2 points
LC_TA_ALIGNED Fit text between 2 points (Adjust Height)
LC_TA_FIT Fit text between 2 points (Adjust Width scale)

Code sample