Message 1 of 15
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm adding text to a drawing via this code:
Dim theTextLabel As New Autodesk.AutoCAD.DatabaseServices.DBText() theTextLabel.SetDatabaseDefaults() 'theTextLabel.Height = 5 theTextLabel.TextString = Me.ctlPID.Text theTextLabel.Position = New Point3d(centroid(0), centroid(1), 0) theTextLabel.Justify = AttachmentPoint.MiddleCenter btr.AppendEntity(theTextLabel) trans.AddNewlyCreatedDBObject(theTextLabel, True)
In the drawing, you can't see the text at all, and you can't select it with the cursor or draw a box around it.But if you qselect, you can find it, and it gets selected. The contents are correct, but no matter what I change ) be it the font, size, etc it never shows up as visible in the drawing. Any ideas?? I'm totally stumped here...
Solved! Go to Solution.