.NET

Reply
Active Contributor
eltoro
Posts: 49
Registered: ‎09-22-2003
Message 1 of 3 (102 Views)

Text formating

102 Views, 2 Replies
11-20-2006 12:12 AM
Hi all


When I get the textstring from a dimension object I get the string including text formatting.

\L for underline
\U+xxxx for character

etc


Any idea how I easy can represent the text with correct appearance in a label in a form.



Regards
Tore
*Tony Tanzillo
Message 2 of 3 (102 Views)

Re: Text formating

11-20-2006 09:19 AM in reply to: eltoro
You can strip the formatting info from the
MTEXT object in the dimension block definition.

See http://www.caddzone.com/MTextFragmentSample.cs for an example.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006/2007
http://www.acadxtabs.com

wrote in message news:5401314@discussion.autodesk.com...
Hi all




Regards
Tore
Active Contributor
eltoro
Posts: 49
Registered: ‎09-22-2003
Message 3 of 3 (102 Views)

Re: Text formating

11-20-2006 11:27 PM in reply to: eltoro
Thanks

I'll try it.


Tore
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!