Leadtools.Annotations Namespace > AnnAutomationManager Class : RunHitTestBuffer Property |
public int RunHitTestBuffer {get; set;}
'Declaration Public Property RunHitTestBuffer As Integer
'Usage Dim instance As AnnAutomationManager Dim value As Integer instance.RunHitTestBuffer = value value = instance.RunHitTestBuffer
public int RunHitTestBuffer {get; set;}
get_RunHitTestBuffer();
set_RunHitTestBuffer(value);
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 around the test point will be used to perform the hit-testing.
When the automation framework uses reflection to create any of the AnnAutomationObject.RunDesignerType, it will use this value for the created AnnRunDesigner.AnnRunDesigner.HitTestBuffer property.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2