TextAlignFlags.TEF_ALIGN_LEFT

TextAlignFlags.TEF_ALIGN_LEFT

Anonymous
Not applicable
575 Views
2 Replies
Message 1 of 3

TextAlignFlags.TEF_ALIGN_LEFT

Anonymous
Not applicable

Im tryint to call TextNote and asign the TextAlignFlags.TEF_ALIGN_LEFT parameters as variables. I cannot use strings as arguments, How can I do this? Thanks. 

0 Likes
576 Views
2 Replies
Replies (2)
Message 2 of 3

jeremytammik
Autodesk
Autodesk

Use an enum, since that is what it is, cf. Revit API help file RevitAPI.chm:

TextAlignFlags Enumeration: An enumerated type listing all the Text align flags.

Best regards,

Jeremy
--
Jeremy Tammik
Autodesk Developer Network -- http://www.autodesk.com/joinadn
The Building Coder -- http://thebuildingcoder.typepad.com



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes
Message 3 of 3

Anonymous
Not applicable

I can use Lookup to find the diferent interger values, but can you give me an example of how to use them? Also, i'm trying to find the enum values for VIEW_TYPE. But I'm not able to use Lookup when a view is selected. Thanks. 

0 Likes