How do I get the MText Actual Width and Actual Height?
I tried GetBoundingBox() method and it returns incorrect value.
The Width and Height property are not the actual width and height as
displayed.
How do I get the MText Actual Width and Actual Height?
I tried GetBoundingBox() method and it returns incorrect value.
The Width and Height property are not the actual width and height as
displayed.
Hoo boy!
See my post http://discussion.autodesk.com/threa...sageID=4206096
About the only way I've found is to use the express tools to explode the
text, make block of the exploded objects and use getboundingbox on that
block.
"Joseph Pods" <joepods2001atyahoodotcom> wrote in message
news:41d042df$1_2@newsprd01...
How do I get the MText Actual Width and Actual Height?
I tried GetBoundingBox() method and it returns incorrect value.
The Width and Height property are not the actual width and height as
displayed.
In ARX (C++), there are methods ActualWidth() and ActualHeight(). It looks
like those 2 methods are not exposed in AutoCAD VBA Object model.
Is there a way for me to call ARX command from VBA? I was thinking to tag
all my MText using XData then call ARX to get me the ActualWidth and
ActualHeight.
"Allen Johnson" <ajohnson@dwase> wrote in message
news:41d04914$1_2@newsprd01...
Hoo boy!
See my post http://discussion.autodesk.com/threa...sageID=4206096
About the only way I've found is to use the express tools to explode the
text, make block of the exploded objects and use getboundingbox on that
block.
"Joseph Pods" <joepods2001atyahoodotcom> wrote in message
news:41d042df$1_2@newsprd01...
How do I get the MText Actual Width and Actual Height?
I tried GetBoundingBox() method and it returns incorrect value.
The Width and Height property are not the actual width and height as
displayed.
I don't know about ARX, but in lisp you can read the DXF field codes 42 and
43 for actual width and height.
Perhaps you could supply those to your VBA code
Thanks, man.
"Allen Johnson" <ajohnson@dwase> wrote in message
news:41d059f2$1_3@newsprd01...
I don't know about ARX, but in lisp you can read the DXF field codes 42
and
43 for actual width and height.
Perhaps you could supply those to your VBA code
Zoom to actual
Setting MText Width via LISP
Mtext Width Factor