Adding New Line To MTEXT
CADForums.net Forum Index CADForums.net
Discussion of AutoCAD and other CAD software.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web cadforums.net
Adding New Line To MTEXT

 
Post new topic   Reply to topic    CADForums.net Forum Index -> VBA
Author Message
abanson



Joined: 12 Apr 2005
Posts: 2

Posted: Tue Apr 12, 2005 2:02 am    Post subject: Adding New Line To MTEXT Reply with quote

Hi,

I'm new to these forums/autocad vba and was wanting some help on adding new lines to mtext...


text_string = "X" & vbnewline & "Y"
Set Text_Object = blkobj.AddMText(p2, 2000, text_string)

the following just puts "?" symbols and doesn't give me a new line. Is there any other way to do it?

Andrew

Back to top
View user's profile Send private message
 
Post new topic   Reply to topic    CADForums.net Forum Index -> VBA All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server DSP VoIP Electronics New Topics
Powered by phpBB