ImageGear .NET v25.1 - Updated
PolyMarkAutoRollbackThreshold Property (ImGearAnnotationSettings)




ImageGear.Windows.Controls Assembly > ImageGear.Windows.Controls Namespace > ImGearAnnotationSettings Class : PolyMarkAutoRollbackThreshold Property
Gets or sets a value indicating a poly mark loop auto- correction threshold.
Syntax
'Declaration
 
Public Property PolyMarkAutoRollbackThreshold As Double
'Usage
 
Dim instance As ImGearAnnotationSettings
Dim value As Double
 
instance.PolyMarkAutoRollbackThreshold = value
 
value = instance.PolyMarkAutoRollbackThreshold
public double PolyMarkAutoRollbackThreshold {get; set;}
public: __property double get_PolyMarkAutoRollbackThreshold();
public: __property void set_PolyMarkAutoRollbackThreshold( 
   double value
);
public:
property double PolyMarkAutoRollbackThreshold {
   double get();
   void set (    double value);
}

Property Value

Double value.
Remarks
This value indicates a min loop perimeter/area ratio for which the loop will be considered as correction and removed from the path. The smaller value shows that poly mark correction will be easier, but user won’t be able to draw thin shapes; loop with relatively small area will be treated as correction and excluded from the polyline. Minimal possible value is 4*PI (that means round loop). With this threshold value any loop will be removed. The default value is 40 * PI.
See Also

Reference

ImGearAnnotationSettings Class
ImGearAnnotationSettings Members