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



x
The x-coordinate of the point to test. It shold be in the same unit of measurement
y
The y-coordinate of the point to test. It shold be in the same unit of measurement

The Contains(Double,Double) Method is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.

x
The x-coordinate of the point to test. It shold be in the same unit of measurement
y
The y-coordinate of the point to test. It shold be in the same unit of measurement
Determines whether the specified point is contained within this LogicalRectangle structure.

Syntax

Visual Basic (Declaration) 
Overloads Public Function Contains( _
   ByVal x As Double, _
   ByVal y As Double _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As LogicalRectangle
Dim x As Double
Dim y As Double
Dim value As Boolean
 
value = instance.Contains(x, y)
C# 
public bool Contains( 
   double x,
   double y
)
C++/CLI 
public:
bool Contains( 
   double x,
   double y
) 

Parameters

x
The x-coordinate of the point to test. It shold be in the same unit of measurement
y
The y-coordinate of the point to test. It shold be in the same unit of measurement

Return Value

true if the specified point is contained within this LogicalRectangle; false, otherwise.

Remarks

The point is treated as if its in the same unit as the LogicalRectangle.

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.Forms requires a Forms Module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features