 |
When the featureset is in index mode, it is designed to work using less memory and only supporting the values needed for drawing. To preserve this lower memory state, avoid accessing the “Features” list.
In order to work with the coordinates for shapes and parts, use the ShapeIndices, which lists the actual shapes as ShapeRange objects. Each ShapeRange can have multiple Parts, which are PartRange objects. The PartRange can enumerate Vertex values
using a foreach statement. |
 |
|
 |
True if the DataTable has been filled with attributes. |
 |
Regular, M or Z. |
 |
A System.Data.DataTable which can be loaded with attributes. |
 |
The geographic bounds of all the shapes. |
 |
Point, Line or Polygon. |
 |
The string filename, ending with a .shp for shapefiles. |
 |
True if the Features list has not yet been created. |
 |
An array of double M values if CoordinateType is M or Z. |
 |
A list of ShapeRange objects for cycling parts and vertices. |
 |
The array of interleaved X, Y coordinates like X1, Y1, X2, Y2 … Xn, Yn |
 |
The array of Z coordinates if CoordinateType is Z. |
 |
|
 |
Adds a single Shape to the end of the FeatureSet. |
 |
Adds multiple shapes to the end of the FeatureSet. |
 |
Copies column name and type information from a DataTable or FeatureSet |
 |
Translates a Shape of the specified index into an IFeature. |
 |
Gets the Shape at the specified index. |
 |
Opens the specified file, shapefiles should end in .shp. |
 |
Removes the shape from the specified index location. |
 |
Removes multiple shapes, given the index locations. |
 |
Reprojects the vertices stored in-ram. This does not update the file. |
 |
Saves the in-ram content to a file using the extension to pick a format. |
 |
Selects features based on the specified geographic extent. |
 |
Retrieves the feature index values for matching attributes. |
 |
Selects the shapes using index values. |
 |
Updates cached extents for shapes or the FeatureSet after changes. |
 |
|