set TextMesh alignment, anchor, etc. in script

The TextMesh inspector shows a variety of properties (alignment, anchor, tab size, etc.) that don't seem to show up in the TextMesh class itself. How can I mess with these from scripts?

You can’t; not everything is exposed to scripting unfortunately.

Edit: You can in Unity 3.2.