LEADTOOLS Annotations (Leadtools.Annotations assembly)
LEAD Technologies, Inc

Contains(Single,Single,AnnUnit) Method






The x-coordinate of the point to test.
The y-coordinate of the point to test.
The unit of measure for the specified coordinates.
Determines if the specified point with the specified unit of measure is contained within this AnnRectangle structure.
Syntax
public bool Contains( 
   float x,
   float y,
   AnnUnit unit
)
'Declaration
 
Public Overloads Function Contains( _
   ByVal x As Single, _
   ByVal y As Single, _
   ByVal unit As AnnUnit _
) As Boolean
'Usage
 
Dim instance As AnnRectangle
Dim x As Single
Dim y As Single
Dim unit As AnnUnit
Dim value As Boolean
 
value = instance.Contains(x, y, unit)
public bool Contains( 
   float x,
   float y,
   AnnUnit unit
)
 function Leadtools.Annotations.AnnRectangle.Contains(Single,Single,AnnUnit)( 
   x ,
   y ,
   unit 
)
public:
bool Contains( 
   float x,
   float y,
   AnnUnit unit
) 

Parameters

x
The x-coordinate of the point to test.
y
The y-coordinate of the point to test.
unit
The unit of measure for the specified coordinates.

Return Value

This method returns true if the point defined by x and y is contained within this AnnRectangle structure; otherwise false.
Requirements

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

See Also

Reference

AnnRectangle Structure
AnnRectangle Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.