.NET

Reply
Mentor
BrentBurgess1980
Posts: 161
Registered: ‎06-16-2008
Message 1 of 4 (675 Views)

Text Justification

675 Views, 3 Replies
09-01-2010 10:08 PM

I am setting my DBText's justification, and I cannot seem to set it to Top Centre (defaults back to BaseAlign). All of the others seem to work. I have attached an image.

 

Am I missing something obvious?

 

Thanks

Active Member
just.nobody
Posts: 8
Registered: ‎01-26-2008
Message 2 of 4 (656 Views)

Re: Text Justification

09-02-2010 05:24 AM in reply to: BrentBurgess1980

You might try the AdjustAlignment method of the DBText object after you've set its new justification and Alignment point.

 

Something like this?

Me.Text.AdjustAlignment.(Autodesk.AutoCAD.DatabaseServices.HostApplicationServices.WorkingDatabase);

*Expert Elite*
chiefbraincloud
Posts: 752
Registered: ‎02-13-2008
Message 3 of 4 (626 Views)

Re: Text Justification

09-02-2010 10:48 AM in reply to: BrentBurgess1980

at one time I had a problem with a certain justification, (I don't recall if it was TopCenter or not) I found that the only thing that seemed to work was to set the HorizontalMode and VerticalMode properties, instead of Justify.

Dave O.                                                                  Sig-Logos32.png
Mentor
tyronebk
Posts: 164
Registered: ‎08-17-2007
Message 4 of 4 (313 Views)

Re: Text Justification

06-07-2011 02:57 PM in reply to: chiefbraincloud

Thanks ChiefBrainCloud. 

Also, the TopCenter attachment point was only failing for me if the DBText object was annotative.

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community