←Select platform

UseFreehandSelection Property

Summary

Indicates whether to use free hand selection.

Syntax
C#
VB
C++
public bool UseFreehandSelection { get; set; } 
Public Property UseFreehandSelection() As Boolean 
   Get 
   Set 
public:  
   property bool UseFreehandSelection 
   { 
      bool get() 
      void set(bool value) 
   } 

Property Value

true to use free hand selection; otherwise; false. Default value is false.

Remarks

LEADTOOLS by default uses the rectangle draw designer (AnnRectangleDrawDesigner) with the selection object (AnnSelectionObject). The user can select objects by rubber-banding a rectangle on the annotation container and any object that intersects with the area will be selected.

This is the behavior used when the value of AnnAutomationManager.UseFreehandSelection is false (default value).

AnnFreeHandSelectionDrawDesigner can be used instead to allow the user to select objects by drawing a free hand area and selecting the objects inside the area only. This can be setting AnnFreeHandSelectionDrawDesigner as the type of the draw designer of AnnAutomationObject of the selection object or by simply using the AnnAutomationManager.UseFreehandSelection property.

This is the behavior used when the value of AnnAutomationManager.UseFreehandSelection is set to true.

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Automation Assembly