Add mnemonic constants:

kHAlignLeft=10, kHAlignCenter=20, kHAlignRight=30,
kVAlignBottom=1, kVAlignCenter=2, kVAlignTop=3

They allow to write: object->SetTextAlign(kHAlignLeft+kVAlignTop)