LEADTOOLS JavaScript (Leadtools.Annotations.Automation)

ThumbsHitTestBuffer Property

Show in webframe
Gets or sets the hit test buffer for all AnnEditDesigner derived classes.
Syntax
get_thumbsHitTestBuffer();
set_thumbsHitTestBuffer(value);
Object.defineProperty('thumbsHitTestBuffer');

Property Value

TypeDescription
intThe 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.

See Also

Reference

AnnAutomationManager Object
AnnAutomationManager Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.