TheSwamp

Code Red => .NET => Topic started by: guohq on August 19, 2016, 02:26:50 AM

Title: how to get the envelope of dbtext
Post by: guohq on August 19, 2016, 02:26:50 AM
DBText.GeometricExtents can get the envelope  but the envolope is larger than the envolope which is get by lisp function textbox.


how can I  get the dbtext's textbox in dot net?
Title: Re: how to get the envelope of dbtext
Post by: Alexander Rivilis on August 19, 2016, 01:51:16 PM
The same result as (textbox) lisp-function can be done with P/Invoke acedTextBox function.
Sample: http://adndevblog.typepad.com/autocad/2013/10/mirroring-a-dbtext-entity.html
Title: Re: how to get the envelope of dbtext
Post by: guohq on August 20, 2016, 04:05:23 AM
thank you