change ControlpointIDs of a shape in Code

Apr 17, 2013 at 9:39 AM
Edited Apr 17, 2013 at 9:40 AM
Hi,

as the topic says :

is it possible to change the controlpoint IDs of a shape in code?

For example can i change the controlpoint in the middle of a thickarrow from 7 to 2 or so ?

Thank you and Greetz
Rastman
Coordinator
Apr 19, 2013 at 7:41 AM
You can derive a new shape class from ThickArrow and override the methods that deal with Control points.
Basically, you have to change the switch statements.

Perhaps you start experimenting with
Shape.HasControlPointCapability
Shape.GetControlPointId
Shape.GetControlPointIndex
Shape.MovePointByCore