Leadtools.Annotations Namespace > AnnAutomationManager Class : ControlPointsHitTestBuffer Property |
public int ControlPointsHitTestBuffer {get; set;}
'Declaration Public Property ControlPointsHitTestBuffer As Integer
'Usage Dim instance As AnnAutomationManager Dim value As Integer instance.ControlPointsHitTestBuffer = value value = instance.ControlPointsHitTestBuffer
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 pixels long will be used around the test point to perform the hit-testing.
When the automation framework uses reflection to create any of the AnnAutomationObject.EditDesignerType, it will use this value for the created AnnEditDesigner.AnnEditDesigner.ControlPointsHitTestBuffer property.