Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.3.29
|
Leadtools.Annotations.Automation Assembly > Leadtools.Annotations.Automation Namespace > AnnAutomationManager Class : ThumbsHitTestBuffer Property |
public int ThumbsHitTestBuffer {get; set;}
'Declaration
Public Property ThumbsHitTestBuffer As Integer
public int ThumbsHitTestBuffer {get; set;}
@property (nonatomic) int thumbsHitTestBuffer;
public int getThumbsHitTestBuffer() public void setThumbsHitTestBuffer(int hitTestBuffer)
<br/>get_ThumbsHitTestBuffer();<br/>set_ThumbsHitTestBuffer(value);<br/>Object.defineProperty('ThumbsHitTestBuffer');
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.