J
jimthompson5802
I'm using VBA to draw a diagram that connects shapes with the dynamic
connector. The default behaviour is to display the connector's TEXT
attribute at the halfway point of the connector.
For different connectors I'd like to position their respective TEXT field at
different points along the connector. Ideal for me is to specify some
percentage (0 to 100) of the length of the connector to position the text.
For example, if I specify 25, I'd like the text to be at the 25% distance
from the start of the line, 85 specifies the text is at 85% distance from the
start of the line.
Another ideal capaibility is that the positioning will work regardless of
the shape of the connector (straight, curved, righ-angle).
Is there an existing Visio object method that performs the above or
something similar? Or is there VBA code fragement that I can adapt for me
needs?
Any pointers will be appreciated.
Jim T
connector. The default behaviour is to display the connector's TEXT
attribute at the halfway point of the connector.
For different connectors I'd like to position their respective TEXT field at
different points along the connector. Ideal for me is to specify some
percentage (0 to 100) of the length of the connector to position the text.
For example, if I specify 25, I'd like the text to be at the 25% distance
from the start of the line, 85 specifies the text is at 85% distance from the
start of the line.
Another ideal capaibility is that the positioning will work regardless of
the shape of the connector (straight, curved, righ-angle).
Is there an existing Visio object method that performs the above or
something similar? Or is there VBA code fragement that I can adapt for me
needs?
Any pointers will be appreciated.
Jim T