moji88 Posted April 6, 2015 Share Posted April 6, 2015 I have a problem in line 7 of this code: Sub DrawText() 'inserts the string "Hello" into the drawing area Dim TextPosition(0 To 2) As Double TextPosition(0) = 1.5 TextPosition(1) = 8.5 TextPosition(2) = 0# ModelSpace.AddText "Hello", TextPosition, 1.8 End Sub I am a beginner & i have no idea what's wrong. Please help me, I can't run this code:cry: Quote Link to comment Share on other sites More sharing options...
SLW210 Posted April 6, 2015 Share Posted April 6, 2015 I moved your thread to the .NET, ObjectARX & VBA Forum, please post your questions in the related forum. Please read the Code Posting Guidelines and edit your Code to be included in Code Tags. Quote Link to comment Share on other sites More sharing options...
moji88 Posted April 6, 2015 Author Share Posted April 6, 2015 Thank you, I will. Sub DrawText() 'inserts the string "Hello" into the drawing area Dim TextPosition(0 To 2) As Double TextPosition(0) = 1.5 TextPosition(1) = 8.5 TextPosition(2) = 0# ModelSpace.AddText "Hello", TextPosition, 1.8 End Sub Quote Link to comment Share on other sites More sharing options...
BIGAL Posted April 7, 2015 Share Posted April 7, 2015 What about rotation angle ? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.