Use this function to constrain the separation between a point and a line
HRESULT ConstrainSeparationPointToLine(IPoint *point1, ILine *line1) ;
point1 point of separation constraint
line1 line of separation constraint
Output Parameters
none
Description
This function creates a separation constraint between
a point on a line and a line. It can also create the constraint between
a point on a line and an arc or a circle. In these cases, the center of
circle is used for constrining the separation.