Author Topic: how to get the envelope of dbtext  (Read 1648 times)

0 Members and 1 Guest are viewing this topic.

guohq

  • Newt
  • Posts: 84
how to get the envelope of dbtext
« 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?

Alexander Rivilis

  • Bull Frog
  • Posts: 214
  • Programmer from Kyiv (Ukraine)
Re: how to get the envelope of dbtext
« Reply #1 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

guohq

  • Newt
  • Posts: 84
Re: how to get the envelope of dbtext
« Reply #2 on: August 20, 2016, 04:05:23 AM »
thank you