abstract method used to add a new record to the shapefile

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

Syntax

Visual Basic
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
JavaScript
function addRecord(points, pointCount, fieldData);

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.

See Also