The ShapeFileWriter type exposes the following members.

Constructors

  NameDescription
ShapeFileWriter
ShapeFileWriter Constructor

Methods

  NameDescription
AddRecordOverloaded.
Close
Updates the headers inside the individual shapefile files and closes any used streams.
CreateWriter
Creates a ShapeFileWriter class
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Destructor
(Overrides Object..::.Finalize()()().)
GetHashCode
Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
ToString
Returns a String that represents the current Object.
(Inherited from Object.)
WriteDbfRecord
Writes a record to the Shape Files's DBF file
WriteFileHeaders
writes the shapefile's 3 file headers

Remarks

Derived classes must call this method after setting the ShapeType when the ShapeFileWriter is created before the first record is written

Properties

  NameDescription
BaseDirectory
The base directory where the new shape file will be written
DbfStream
The Stream used to write the shape files .dbf file
FileName
The file name of the 3 shpaefile files, exluding their file extensions
IndexStream
The Stream used to write the shape files index (.shx) file
RecordCount
The number of records written in the shapefile
ShapeBounds
The extent bounds of the shapefile being written
ShapeStream
The Stream used to write the shape files .shp file
ShapeType
The shape type of the shapefile

See Also