Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
EditHitTestBuffer Property
See Also 
Leadtools.Annotations Namespace > AnnAutomationManager Class : EditHitTestBuffer Property



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

Syntax

Visual Basic (Declaration) 
Public Property EditHitTestBuffer As Integer
Visual Basic (Usage)Copy Code
Dim instance As AnnAutomationManager
Dim value As Integer
 
instance.EditHitTestBuffer = value
 
value = instance.EditHitTestBuffer
C# 
public int EditHitTestBuffer {get; set;}
C++/CLI 
public:
property int EditHitTestBuffer {
   int get();
   void set (int value);
}

Return Value

The hit test buffer, in pixels, for all AnnEditDesigner derived classes.

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 a length of 4 pixels around the test point will be used to perform the hit-testing.

When the automation framework uses reflection to create any of the AnnAutomationObject.EditDesignerType, it will use this value in the created AnnEditDesigner.AnnEditDesigner.HitTestBuffer property.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features