Collapse All Expand All Code: All Code: Multiple Code: Visual Basic Code: C# Code: Visual C++ Code: JavaScript

Visual Basic
C#
Visual C++
JavaScript

Easy GIS .NET API Reference
RectangleD..::.Contains Method (Double, Double)
RectangleD Structure See Also Send Feedback

Determines if the specified point is contained within this RectangleD structure.

Namespace: EGIS.ShapeFileLib
Assembly: EGIS.ShapeFileLib (in EGIS.ShapeFileLib.dll)

# Syntax

Visual Basic (Declaration)
    Public Function Contains ( _
    	x As Double, _
    	y As Double _
    ) As Boolean

C#
    public bool Contains(
    	double x,
    	double y
    )

Visual C++
    public:
    bool Contains(
    	double x,
    	double y
    )

#### Parameters

x
  Type: System..::.Double
  The x-coordinate of the point to test.

y
  Type: System..::.Double
  The y-coordinate of the point to test.

#### Return Value

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

# See Also

RectangleD Structure
Contains Overload
EGIS.ShapeFileLib Namespace