Calculate text position on a dynamic connector?

B

Brian Mitchell

Are there any cool math formulas that will help me move the text to a
specific point on a dynamic connector?

For instance, I have a cloud in the middle of my drawing with about 70
dynamic connectors coming out and I want the text on all the connectors to
be the same distance from the cloud but I can't figure out the X,Y math
because the TxtPinX and TxtPinY are based on an X,Y coordinate system for
the connector itself.

Thanks in advance!!
 
P

Paul Herber

Are there any cool math formulas that will help me move the text to a
specific point on a dynamic connector?

For instance, I have a cloud in the middle of my drawing with about 70
dynamic connectors coming out and I want the text on all the connectors to
be the same distance from the cloud but I can't figure out the X,Y math
because the TxtPinX and TxtPinY are based on an X,Y coordinate system for
the connector itself.

Look up the XYtoPage method.
(and PagetoXY)
 
B

Brian Mitchell

Thank you for the reply. I can figure out the coordinates for points I know
like BeginX and BeginY. What I am trying to do in find the coordinates for a
point I don't know, like a point 75% down the line.

Thanks!
 
B

Brian Mitchell

I think I found the answer in the XYFromPage method. You pointed me in the
right direction, and thanks for the help!!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top