thumbsHitTestBuffer Property

Summary

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

Syntax
TypeScript
JavaScript
Object.defineProperty(AnnAutomationManager.prototype, 'thumbsHitTestBuffer', 
	get: function(), 
	set: function(value) 
) 
thumbsHitTestBuffer: number; 

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