←Select platform

RunHitTestBuffer Property

Summary
Gets or sets the hit test buffer for all AnnRunDesigner derived classes.
Syntax
C#
Objective-C
C++/CLI
Java
Python
public int RunHitTestBuffer { get; set; } 
@property (nonatomic, assign) NSInteger runHitTestBuffer; 
public int getRunHitTestBuffer() 
public void setRunHitTestBuffer(int hitTestBuffer) 
public:  
   property Int32 RunHitTestBuffer 
   { 
      Int32 get() 
      void set(Int32 value) 
   } 
RunHitTestBuffer # get and set (AnnAutomationManager) 

Property Value

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

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 around the test point will be used to perform the hit-testing.

When the automation framework creates any of the AnnAutomationObject.RunDesignerType objects, it will use set the value of this property in AnnRunDesigner.HitTestBuffer.

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

Requirements

Target Platforms

Help Version 22.0.2023.4.25
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 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.