CADMText Align Property

Discuss and ask questions about CAD .NET library.

Moderators: SDS, support, admin

Post Reply
slingblade
Posts: 16
Joined: 31 May 2010, 13:33

CADMText Align Property

Post by slingblade » 10 Jun 2010, 13:19

Hi,

Can you let me know the possible values for the CADMText.Align property?

I can't seem to find them in the documentation.

Thanks!

support
Posts: 3272
Joined: 30 Mar 2005, 11:36
Contact:

Re: CADMText Align Property

Post by support » 11 Jun 2010, 13:37

Hello.
CADMText object alignment specified by following correct values of Align property (the values are the same as in AutoCAD):

Code: Select all

  Value	      Meaning
   1	        Top left
   2	       Top center
   3	        Top right
   4	       Middle left
   5	      Middle center
   6	      Middle right
   7	      Bottom left
   8	     Bottom center
   9	      Bottom right
Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

slingblade
Posts: 16
Joined: 31 May 2010, 13:33

Re: CADMText Align Property

Post by slingblade » 12 Jun 2010, 05:59

Thanks! :P

slingblade
Posts: 16
Joined: 31 May 2010, 13:33

Re: CADMText Align Property

Post by slingblade » 12 Jun 2010, 06:18

FYI: Here are the AutoCAD acAlignment constants.

acAlignmentLeft = 0
acAlignmentCenter = 1
acAlignmentRight = 2
acAlignmentAligned = 3
acAlignmentMiddle = 4
acAlignmentFit = 5
acAlignmentTopLeft = 6
acAlignmentTopCenter = 7
acAlignmentTopRight = 8
acAlignmentMiddleLeft = 9
acAlignmentMiddleCenter = 10
acAlignmentMiddleRight = 11
acAlignmentBottomLeft = 12
acAlignmentBottomCenter = 13
acAlignmentBottomRight = 14

support
Posts: 3272
Joined: 30 Mar 2005, 11:36
Contact:

Re: CADMText Align Property

Post by support » 22 Jun 2010, 17:14

Hello.
Please note, the acAlignment enumeration doesn't refer to AutoCAD MText alignment property. The set of constants that you paste used by AutoCAD and must be defined in AutoCAD based applications.

Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

Post Reply