Community
Specifies the attachment point for an MText object.
Signature
object.AttachmentPoint
object
MText
The object or
objects this property applies to.
AttachmentPoint
acAttachmentPoint enum; read-write
acAttachmentPointTopLeft
acAttachmentPointTopCenter
acAttachmentPointTopRight
acAttachmentPointMiddleLeft
acAttachmentPointMiddleCenter
acAttachmentPointMiddleRight
acAttachmentPointBottomLeft
acAttachmentPointBottomCenter
acAttachmentPointBottomRight
Remarks
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
Prego Gustavo,
And I don't think that things are different in
VB??? or VB, because that's the way how ActiveX is implemented on Mtext and no
matter how you turn it or what programming language you use, it comes to the
same reality (as a matter of fact, the quoted text that I've posted is from
the ActiveX and VBA Reference Help, since there is no help
documentation for VLA functionality).
And I even think that it has some kind of
logic in it. You assign the new AttachmentPoint as a
description of how the text is justified, not
as a physical point, in other words you say "the point for justifying
this text is in the Middle Center of the text". And so, the new
justification point (AttachmentPoint) forces the new insertion point. So
if you want your text justified it in relation with the initial insertion
point, you have to move it, move it, even if you like it or
not 🙂
"Gustavo_Guidi" <Thanks to all.
href="mailto:g_e_guidi@yahoo.com.ar">
size=2>g_e_guidi@yahoo.com.ar> a écrit
dans le message de news:
href="mailto:6079453@discussion.autodesk.com">
size=2>6079453@discussion.autodesk.com
size=2>...
I did a
vla-move to the right point. The thing is like Some Buddy says, you
assign
the attachment as a acAttachmentPointMiddleCenter but nothing
change. But I'm sure it should, or there must be a way without moving it,
becouse if it doesn't work here It works in VB??? and there, in VB, they
can
not use (subst) (assoc).. nor any other lisp function
Thanks
again
Gustavo
"Gustavo_Guidi" <
href="mailto:g_e_guidi@yahoo.com.ar">
size=2>g_e_guidi@yahoo.com.ar> escribió
en el mensaje
face=Arial size=2>news:6079262@discussion.autodesk.com
face=Arial size=2>...
I crate an MTEXT passing the poit which I need to be
the MiddleCentered, but
it uses it as the corner point.
Then I assign
the value to Vla-put-AttachmentPoint trying to transform the
point to
become the MiddleCentered but it doesn't.
How can I do
it?
Thanks
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
"Gustavo_Guidi" <
href="mailto:g_e_guidi@yahoo.com.ar">g_e_guidi@yahoo.com.ar> a écrit
dans le message de news:
href="mailto:6080283@discussion.autodesk.com">6080283@discussion.autodesk.com...
Some Buddy
I understand what you say, and I have to accept
it is that way, but what sounds strange for me is that with TEXT, if you
assign the new alignmet with (vla-put-alignment .....)
it changes automatically to the new alignment point that you want.
Seems that AutoDesk has a hole or bug without a function for some entity like
MTEXT that it potentially stronger thant TEXT
"Some Buddy" <
href="mailto:cyberiq@mailcity.com">cyberiq@mailcity.com> escribió en el
mensaje
href="news:6079497@discussion.autodesk.com">news:6079497@discussion.autodesk.com...
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
Prego Gustavo,
And I don't think that things are different in
VB??? or VB, because that's the way how ActiveX is implemented on Mtext and
no matter how you turn it or what programming language you use, it comes to
the same reality (as a matter of fact, the quoted text that I've posted is
from the ActiveX and VBA Reference Help, since there is no help
documentation for VLA functionality).
And I even think that it has some kind of
logic in it. You assign the new AttachmentPoint as a
description of how the text is justified, not
as a physical point, in other words you say "the point for
justifying this text is in the Middle Center of the text". And so,
the new justification point (AttachmentPoint) forces the new insertion
point. So if you want your text justified it in relation with the initial
insertion point, you have to move it, move it, even if you
like it or not 🙂
"Gustavo_Guidi" <Thanks to all.
href="mailto:g_e_guidi@yahoo.com.ar">
size=2>g_e_guidi@yahoo.com.ar> a écrit
dans le message de news:
href="mailto:6079453@discussion.autodesk.com">
size=2>6079453@discussion.autodesk.com
size=2>...
I did a
vla-move to the right point. The thing is like Some Buddy says, you
assign the attachment as a acAttachmentPointMiddleCenter but
nothing
change. But I'm sure it should, or there must be a way without
moving it,
becouse if it doesn't work here It works in VB??? and there,
in VB, they can
not use (subst) (assoc).. nor any other lisp
function
Thanks
again
Gustavo
"Gustavo_Guidi" <
href="mailto:g_e_guidi@yahoo.com.ar">
size=2>g_e_guidi@yahoo.com.ar>
escribió en el mensaje
href="news:6079262@discussion.autodesk.com">
size=2>news:6079262@discussion.autodesk.com
size=2>...
I crate an MTEXT passing the poit which I need to be the
MiddleCentered, but
it uses it as the corner point.
Then I assign the
value to Vla-put-AttachmentPoint trying to transform the
point to become
the MiddleCentered but it doesn't.
How can I do it?
Thanks