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
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) |
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.The point is treated as if its in the same unit as the LogicalRectangle.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7