Prod.: Engine, ver.: 6019, ID: 60001230, Wish : I would like to have mid point grips for the line segments of the polyline

Wish : I would like to have mid point grips for the line segments of the polyline

Article60001230
TypeWish
ProductEngine
Version6019
Date Added9/23/2010
FixedYes [12/1/2010]
Submitted byLoic Bouffard
Keywords

Subject

I would like to have mid point grips for the line segments of the polyline

Summary

I would like to have mid point grips for the line segments of the polyline

Solution

A static property has been added to the Document that controls the visibility of grips to the middle points of the polyline.

Get/Set a static boolean value that represents if grips will be shown in the middle of the straight (bulge = 0.0) segments of a polyline.
Default value false (The middle grips do not show in straight segments).
Note that this static value should be set in the initialization of the application , and in order to see the changes (if is set after opening a file or selecting a polyline) a RegenAll to the Document is required.

public bool EnableMiddleGripForPolylines

This grip if visible and clicked will move both grips that are attac hed to the line segment of the polyline. You can use it like :
mDoc.GlobalRenderProperties.EnableMiddleGripForPolylines = true;