The ShapeFile type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| ShapeFile | Overloaded. |
Methods
| Name | Description | |
|---|---|---|
| Close |
Closes the underlying stream of the ShapeFile and clears all of the internal data.
After calling this method the ShapeFile can no longer be rendered
| |
| Dispose |
Disposes of the ShapeFile
| |
| Equals | (Inherited from Object.) | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| 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.) | |
| GetRecords |
Gets all of the records at fieldIndex in the DBF file
| |
| GetShapeBounds |
Gets the rectangular bounds of an individual shape in the ShapeFile
| |
| GetShapeData | Overloaded. | |
| GetShapeExtents |
Gets the rectangular extent of each shape in the shapefile
| |
| GetShapeFileEnumerator | Overloaded. | |
| GetShapeIndexContainingPoint |
returns the index of the shape containing Point pt
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| IsVisibleAtZoomLevel |
Checks whether the ShapeFile will be visible if rendered at given zoom level, as determined by the
ShapeFile RenderSettings
| |
| LLToMercator | Overloaded. | |
| LoadFromFile |
Loads a ShapeFile using a path to a .shp shape file
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| MercatorToLL | Overloaded. | |
| ReadXml |
Reads and and loads a ShapeFile from Xml representation of the ShapeFile (as output by WriteXml)
| |
| Render | Overloaded. | |
| ToString | (Overrides Object..::.ToString()()().) | |
| WriteXml |
Writes an Xml representation of the ShapeFile.
|
Properties
| Name | Description | |
|---|---|---|
| Extent |
Gets the Rectangular extent of the shapefile
| |
| FilePath |
Gets the path to the ShapeFile, not including the .shp file extension
| |
| IsSelectable |
Indicates whether the ShapeFile is selectable.
| |
| Name |
The name of this ShapeFile.
| |
| RecordCount |
Gets the number of records(shapes) in the ShapeFile
| |
| RenderQuality |
Gets or Sets the RenderQuality to use when rendering shapefiles
| |
| RenderSettings |
Gets or sets the RenderSettings used by the ShapeFile when Rendering
| |
| SelectedRecordIndex |
Gets or sets the index (zero based) of the current selected shape/record. If no shape is selected then SelectedRecordIndex is -1
| |
| ShapeType |
Gets the ShapeType of the ShapeFile
| |
| Sync |
Gets an object that can be used to synchronize access to the ShapeFile
| |
| UseMercatorProjection |
Gets/Sets whether ShapeFiles should be rendered using the Mercator Projection.
|