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




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

Syntax

Visual Basic (Declaration) 
Public Property ControlPointsHitTestBuffer As Integer
Visual Basic (Usage)Copy Code
Dim instance As AnnAutomationManager
Dim value As Integer
 
instance.ControlPointsHitTestBuffer = value
 
value = instance.ControlPointsHitTestBuffer
C# 
public int ControlPointsHitTestBuffer {get; set;}
Managed Extensions for C++ 
public: __property int get_ControlPointsHitTestBuffer();
public: __property void set_ControlPointsHitTestBuffer( 
   int value
);
C++/CLI 
public:
property int ControlPointsHitTestBuffer {
   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 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 EditDesignerType, it will use this value for the created AnnEditDesigner.ControlPointsHitTestBuffer property.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

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