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




Gets or sets the hit test buffer for this AnnRunDesigner.

Syntax

Visual Basic (Declaration) 
Public Overridable Property HitTestBuffer As Integer
Visual Basic (Usage)Copy Code
Dim instance As AnnRunDesigner
Dim value As Integer
 
instance.HitTestBuffer = value
 
value = instance.HitTestBuffer
C# 
public virtual int HitTestBuffer {get; set;}
Managed Extensions for C++ 
public: __property virtual int get_HitTestBuffer();
public: __property virtual void set_HitTestBuffer( 
   int value
);
C++/CLI 
public:
virtual property int HitTestBuffer {
   int get();
   void set (int value);
}

Return Value

The hit test buffer, in pixels, for this AnnRunDesigner.

Example

For an example, refer to AnnRunDesigner.

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.

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