←Select platform

ThumbsHitTestBuffer Property

Summary

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

Syntax

C#
VB
Java
Objective-C
WinRT C#
public int ThumbsHitTestBuffer {get; set;}
Public Property ThumbsHitTestBuffer As Integer
public int ThumbsHitTestBuffer {get; set;}
@property (nonatomic) int thumbsHitTestBuffer;
public int getThumbsHitTestBuffer() 
public void setThumbsHitTestBuffer(int hitTestBuffer) 
get_ThumbsHitTestBuffer(); 
set_ThumbsHitTestBuffer(value); 
Object.defineProperty('ThumbsHitTestBuffer'); 

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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Annotations.Automation Assembly
Click or drag to resize