abstract method used to add a new record to the shapefile
Namespace:
EGIS.ShapeFileLibAssembly: EGIS.ShapeFileLib (in EGIS.ShapeFileLib.dll)
Syntax
| Visual Basic (Declaration) |
|---|
Public MustOverride Sub AddRecord ( _ points As Double(), _ pointCount As Integer, _ fieldData As String() _ ) |
| C# |
|---|
public abstract void AddRecord( double[] points, int pointCount, string[] fieldData ) |
| Visual C++ |
|---|
public: virtual void AddRecord( array<double>^ points, int pointCount, array<String^>^ fieldData ) abstract |
Parameters
- points
- Type: array<
System..::.Double
>[]()[]
an array containing the individual points of the shape record, where the first element of the array is the x value of point 0, second element is y value of point 0 etc.
- pointCount
- Type: System..::.Int32
The number of points in the pts array (which may be less than points.length*2). Note that if all elements of points are used pointCount will equal pts.length/2
- fieldData
- Type: array<
System..::.String
>[]()[]
fieldData string values of the data associated with the shape record (which is stored in the dbf file)
Remarks
Derived subclasses override this method to write the appropriate data
depending on the ShapeType being used.