Leadtools.Forms Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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
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 3.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

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