ImageGear .NET v25.2 - Updated
ImageGear.Windows.Controls Assembly / ImageGear.Windows.Controls Namespace / ImGearAnnotationSettings Class / IsPolylineAutoCloseEnabled Property




In This Topic
    IsPolylineAutoCloseEnabled Property (ImGearAnnotationSettings)
    In This Topic
    Gets or sets a value indicating whether the polyline auto-close is enabled.
    Syntax
    'Declaration
     
    Public Property IsPolylineAutoCloseEnabled As Boolean
    'Usage
     
    Dim instance As ImGearAnnotationSettings
    Dim value As Boolean
     
    instance.IsPolylineAutoCloseEnabled = value
     
    value = instance.IsPolylineAutoCloseEnabled
    public bool IsPolylineAutoCloseEnabled {get; set;}
    public: __property bool get_IsPolylineAutoCloseEnabled();
    public: __property void set_IsPolylineAutoCloseEnabled( 
       bool value
    );
    public:
    property bool IsPolylineAutoCloseEnabled {
       bool get();
       void set (    bool value);
    }

    Property Value

    Boolean value.
    Remarks
    Used when the polyline mark is created. If true, then the mark is auto-completed and its "Closed" value is set to "true" when current mouse position is close to the starting poly mark point. In this case the PolyMarkPointRadiusThreshold properly should define a max distance, in pixels, between the current mouse position and the starting point position, to consider that poly mark creation process must be finished and the mark must be closed. The default value is false.
    See Also