Gets the raw shape Z(height) data at given record index.

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

Syntax

Visual Basic
Public Function GetShapeZData ( _
	recordIndex As Integer _
) As ReadOnlyCollection(Of Single())
C#
public ReadOnlyCollection<float[]> GetShapeZData(
	int recordIndex
)
Visual C++
public:
ReadOnlyCollection<array<float>^>^ GetShapeZData(
	int recordIndex
)
JavaScript
function getShapeZData(recordIndex);

Parameters

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

Return Value

Remarks

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

If the shapefile does not contain any Z values then this method will return null

See Also