controling line segments (i.e. so as not to bend)

D

DC Kelley

A re-post from the developer.vba forum:

I am implementing a VBA solution where the user needs to edit the end points
of a polygon consisting of a few line segments. None of these line segment
should ever be curved (i.e just LineTo segments, never any EllipticalArcTo
segments). Is these any programmatic way to prevent the user from creating
a curve as they edit the lines? What I want to limit all these lines to
being simple straight segments.

I would perfer not to have to modify each line segment type after the user
edits things, rather I would prefer that they can never grab the control and
ever "bend" the line to start with. Do any of the 'protection' or 'Missc'
atriubutes solve this?

Regards, DC Kelley
 

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