LEADTOOLS Annotations (Leadtools.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
Contains(AnnPoint) Method
See Also 
Leadtools.Annotations Namespace > AnnRectangle Structure > Contains Method : Contains(AnnPoint) Method



pt
The AnnPoint structure to be tested.

The Contains(AnnPoint) Method is available in LEADTOOLS Document and Medical Imaging toolkits.

pt
The AnnPoint structure to be tested.
Determines if the specified point is contained within this AnnRectangle structure.

Syntax

Visual Basic (Declaration) 
Overloads Public Function Contains( _
   ByVal pt As AnnPoint _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As AnnRectangle
Dim pt As AnnPoint
Dim value As Boolean
 
value = instance.Contains(pt)
C# 
public bool Contains( 
   AnnPoint pt
)
C++/CLI 
public:
bool Contains( 
   AnnPoint pt
) 

Parameters

pt
The AnnPoint structure to be tested.

Return Value

This method returns true if the point represented by the pt parameter is contained within this AnnRectangle structure; otherwise false.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

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