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..::.GetShapeData Method (Int32, array<Byte>[]()[])
ShapeFile Class See Also Send Feedback

Gets the raw shape data at given record index, using a supplied dataBuffer to read the data.

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

# Syntax

Visual Basic (Declaration)
    Public Function GetShapeData ( _
    	recordIndex As Integer, _
    	dataBuffer As Byte() _
    ) As Collection(Of PointF())

C#
    public Collection<PointF[]> GetShapeData(
    	int recordIndex,
    	byte[] dataBuffer
    )

Visual C++
    public:
    Collection<array<PointF>^>^ GetShapeData(
    	int recordIndex,
    	array<unsigned char>^ dataBuffer
    )

#### Parameters

recordIndex
  Type: System..::.Int32
  The zero based index of the shape data to return

dataBuffer
  Type: array< System..::.Byte >[]()[]
  A supplied data buffer to use when reading the raw shape data from the shapefile. The buffer must be large enough to read the raw shape data.

#### Return Value

# Remarks

If you are reading every record in a large shape file then the preferred method is to call GetShapeFileEnumerator

# See Also

ShapeFile Class
GetShapeData Overload
EGIS.ShapeFileLib Namespace
ShapeFile..::.GetShapeFileEnumerator()()()