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
ShapeFile..::.GetShapeFileEnumerator Method (RectangleF, ShapeFileEnumerator..::.IntersectionType)
ShapeFile Class See Also Send Feedback

Gets a ShapeFileEnumerator, which can be used to enumerate over all of the records in the ShapeFile, intersecting or contained within a given bounds

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

# Syntax

Visual Basic (Declaration)
    Public Function GetShapeFileEnumerator ( _
    	extent As RectangleF, _
    	intersectionType As ShapeFileEnumerator..::.IntersectionType _
    ) As ShapeFileEnumerator

C#
    public ShapeFileEnumerator GetShapeFileEnumerator(
    	RectangleF extent,
    	ShapeFileEnumerator..::.IntersectionType intersectionType
    )

Visual C++
    public:
    ShapeFileEnumerator^ GetShapeFileEnumerator(
    	RectangleF extent,
    	ShapeFileEnumerator..::.IntersectionType intersectionType
    )

#### Parameters

extent
  Type: System.Drawing..::.RectangleF
  Defines the area that returned shapes must intersect with or be contained by. If this is RectangleF.Empty then no recrods will be returned

intersectionType
  Type: EGIS.ShapeFileLib..::.ShapeFileEnumerator..::.IntersectionType
  Indicates whether shapes must intersect with or be contained by extent

#### Return Value

# See Also

ShapeFile Class
GetShapeFileEnumerator Overload
EGIS.ShapeFileLib Namespace