J
jimthompson5802
I use VBA to draw a diagram. The diagram contains dynamic connectors between
shapes. These dynamic connectors are specified as "curved" connectors and
each has a value in its Text property.
All the text properties are printed horizontally even if the portion of the
line where the text box is displayed is not horizontal.
Most, if not all the lines, are gently curving lines. Hence the text box
usually appears in the portion of the line that does not contain any sharp
curves.
I'd like to set the rotation of the text box to roughly match the angle of
the curved line at the point where the text box is displayed.
Is there an option to do this?
If no, is there a ShapeSheet function that can do this?
If the answer is no to all of the above, then I think a way to do this is to
calculate the first derivative of the NURBS function at the point where the
text box appears. The first derivative provides the slope of the tangent
line at that point of the curve and should be a rough approximation of angle
for rotation of the text box.
Any thoughts?
Jim T
shapes. These dynamic connectors are specified as "curved" connectors and
each has a value in its Text property.
All the text properties are printed horizontally even if the portion of the
line where the text box is displayed is not horizontal.
Most, if not all the lines, are gently curving lines. Hence the text box
usually appears in the portion of the line that does not contain any sharp
curves.
I'd like to set the rotation of the text box to roughly match the angle of
the curved line at the point where the text box is displayed.
Is there an option to do this?
If no, is there a ShapeSheet function that can do this?
If the answer is no to all of the above, then I think a way to do this is to
calculate the first derivative of the NURBS function at the point where the
text box appears. The first derivative provides the slope of the tangent
line at that point of the curve and should be a rough approximation of angle
for rotation of the text box.
Any thoughts?
Jim T