←Select platform

ThumbsHitTestBuffer Property

Summary

Gets or sets the hit test buffer for all AnnEditDesigner derived classes.

Syntax
C#
VB
Objective-C
C++
Java
public int ThumbsHitTestBuffer { get; set; } 
Public Property ThumbsHitTestBuffer As Integer 
@property (nonatomic) int thumbsHitTestBuffer; 
public int getThumbsHitTestBuffer() 
public void setThumbsHitTestBuffer(int hitTestBuffer) 
public:  
   property Int32 ThumbsHitTestBuffer 
   { 
      Int32 get() 
      void set(Int32 value) 
   } 

Property Value

The hit test buffer, in container units, for all AnnEditDesigner derived classes. The default value is 15.

Remarks

The hit test buffer is used to make the test point "bigger" to compensate for errors and provide smoother hit-testing. For example, if the buffer value is 2, a square with sides 4 units long will be used around the test point to perform the hit-testing.

When the automation framework creates any of the AnnAutomationObject.EditDesignerType objects, it will set the value of this property into AnnEditDesigner.ThumbsHitTestBuffer.

The value of HitTestBehavior controls how objects are hit-tested through a selection rectangle.

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