←Select platform

UseFreehandSelection Property

Summary

Indicates whether to use free hand selection.

Syntax
C#
C++/CLI
Python
public bool UseFreehandSelection { get; set; } 
public:  
   property bool UseFreehandSelection 
   { 
      bool get() 
      void set(bool value) 
   } 
UseFreehandSelection # get and set (AnnAutomationManager) 

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 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Automation Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.