←Select platform

Contains(Double,Double) Method

Summary

Determines whether the specified point is contained within this LogicalRectangle structure.

Syntax

C#
VB
C++
public bool Contains(  
   double x, 
   double y 
) 
Public Overloads Function Contains( _ 
   ByVal x As Double, _ 
   ByVal y As Double _ 
) As Boolean 
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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Forms Assembly
Click or drag to resize