Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.5.10
|
Leadtools.Windows.Annotations Namespace > AnnAutomationManager Class : UseNewMultilineBehavior Property |
public bool UseNewMultilineBehavior {get; set;}
'Declaration Public Property UseNewMultilineBehavior As Boolean
'Usage Dim instance As AnnAutomationManager Dim value As Boolean instance.UseNewMultilineBehavior = value value = instance.UseNewMultilineBehavior
This property is used when drawing any annotation object that derives from AnnPolylineObject such as AnnPolygonObject, AnnCurveObject and AnnPolyRulerObject. When drawing a multi-line object, the user moves the mouse cursor to the desired position of the first point and clicks the left button. The user then moves to the location of the second point and releases the cursor to draw the second point. If the two position points are equal (in other words, the user clicks and releases the cursor over the same position) then the two points will have the same value and might not be the desired behavior.
When the value of UseNewMultilineBehavior is true (the default value), then when the user clicks and releases the mouse cursor when drawing the first point of the polyline object, the drawing object will be canceled.
When the value of UseNewMultilineBehavior is false, then when the user clicks and releases the mouse cursor when drawing the first point of the polyline object, a new polyline object with identical two points in the same position will be added.
This property will set the value of the AnnDrawDesigner.UseNewMultilineBehavior property for any drawing operation.