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 : RunHitTestBuffer Property |
public int RunHitTestBuffer {get; set;}
'Declaration
Public Property RunHitTestBuffer As Integer
public int RunHitTestBuffer {get; set;}
@property (nonatomic) int runHitTestBuffer;
public int getRunHitTestBuffer() public void setRunHitTestBuffer(int hitTestBuffer)
<br/>get_RunHitTestBuffer();<br/>set_RunHitTestBuffer(value);<br/>Object.defineProperty('RunHitTestBuffer');
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.