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
ShapeFileWriter Constructor
ShapeFileWriter Class See Also Send Feedback

ShapeFileWriter Constructor

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

# Syntax

Visual Basic (Declaration)
    Protected Sub New ( _
    	baseDir As String, _
    	shapeFileName As String, _
    	dataFields As DbfFieldDesc() _
    )

C#
    protected ShapeFileWriter(
    	string baseDir,
    	string shapeFileName,
    	DbfFieldDesc[] dataFields
    )

Visual C++
    protected:
    ShapeFileWriter(
    	String^ baseDir,
    	String^ shapeFileName,
    	array<DbfFieldDesc>^ dataFields
    )

#### Parameters

baseDir
  Type: System..::.String
  The base directory where the 3 shapefile files will be created

shapeFileName
  Type: System..::.String
  The name of the shapefile. The shapefile will be generated at baseDir + shapeFileName + ".shx|.shp|.dbf

dataFields
  Type: array< EGIS.ShapeFileLib..::.DbfFieldDesc >[]()[]
  DbfFieldDesc array describing the dbf fields of the shapefile

# Remarks

Derived classes must call this constructor

# See Also

ShapeFileWriter Class
EGIS.ShapeFileLib Namespace