Gets the raw shape Z(height) data in double precision format at given record index, using a supplied dataBuffer to read the data.
Namespace:
EGIS.ShapeFileLibAssembly: EGIS.ShapeFileLib (in EGIS.ShapeFileLib.dll)
Syntax
Visual Basic |
---|
Public Function GetShapeZDataD ( _ recordIndex As Integer, _ dataBuffer As Byte() _ ) As ReadOnlyCollection(Of Double()) |
C# |
---|
public ReadOnlyCollection<double[]> GetShapeZDataD( int recordIndex, byte[] dataBuffer ) |
Visual C++ |
---|
public: ReadOnlyCollection<array<double>^>^ GetShapeZDataD( int recordIndex, array<unsigned char>^ dataBuffer ) |
JavaScript |
---|
function getShapeZDataD(recordIndex, 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
If the shapefile does not contain any Z values then this method will return null