How to avoid the Polyline Shape's points decrease when resize one point


https://www.nevron.com/Forum/Topic12033.aspx
Print Topic | Close Window

By Suyan Dong - 7 Years Ago
Hi:
     Recently I found that when I resize one point of the polyline, the points of polyline will decrease and make the line straight. How to avoid the automatical change. The picture shows below. I need the polyline keep the points I draw.
https://www.nevron.com/forum/uploads/images/d506c8fe-6c24-4db0-8b46-f521.jpg
https://www.nevron.com/forum/uploads/images/7637d37c-6793-4a80-9419-b506.jpg
By Nevron Support - 7 Years Ago
This is the effect of the point merging feature. This feature removes the points of a polyline, which are at a small distance from the line formed by their neighbors. To prevent the points of merging, you need to set the drawing.Settings.MergePointDistance to a negative value:

drawing.Settings.MergePointDistance = -1;