====== ThinkGeo.MapSuite.Layers.ShapeFileFeatureLayer ====== ===== Inheritance Hierarchy ===== *System.Object *ThinkGeo.MapSuite.Layers.Layer *ThinkGeo.MapSuite.Layers.FeatureLayer ***ThinkGeo.MapSuite.Layers.ShapeFileFeatureLayer** ===== Members Summary ===== ==== Public Constructors ==== ** {{wiki:PublicMethod.gif|}} ShapeFileFeatureLayer() ** * //This is a constructor for the class.// == Remarks == * //This is the default constructor. If you use this constructor, then you should set the required methods manually.// == Parameters ==
** {{wiki:PublicMethod.gif|}} ShapeFileFeatureLayer(String) ** * //This is a constructor for the class.// == Remarks == * //None// == Parameters == * //shapePathFilename// * Type:String * Description:This parameter is the Shape File path and filename.
** {{wiki:PublicMethod.gif|}} ShapeFileFeatureLayer(String,GeoFileReadWriteMode) ** * //This is a constructor for the class.// == Remarks == * //None// == Parameters == * //shapePathFilename// * Type:String * Description:This parameter is the Shape File path and filename. * //readWriteMode// * Type:[[ThinkGeo.MapSuite.Layers.GeoFileReadWriteMode|GeoFileReadWriteMode]] * Description:This parameter specifies whether the file will be opened in read-only or read/write mode.
** {{wiki:PublicMethod.gif|}} ShapeFileFeatureLayer(String,String) ** * //This is a constructor for the class.// == Remarks == * //None// == Parameters == * //shapePathFilename// * Type:String * Description:This parameter is the Shape File path and filename. * //indexPathFilename// * Type:String * Description:This parameter is the index file path and filename.
** {{wiki:PublicMethod.gif|}} ShapeFileFeatureLayer(String,String,GeoFileReadWriteMode) ** * //This is a constructor for the class.// == Remarks == * //None// == Parameters == * //shapePathFilename// * Type:String * Description:This parameter is the Shape File path and filename. * //indexPathFilename// * Type:String * Description:This parameter is the index file path and filename. * //readWriteMode// * Type:[[ThinkGeo.MapSuite.Layers.GeoFileReadWriteMode|GeoFileReadWriteMode]] * Description:This parameter specifies whether the file will be opened in read-only or read/write mode.
** {{wiki:PublicMethod.gif|}} ShapeFileFeatureLayer(String,String,GeoFileReadWriteMode,Encoding) ** * //This is a constructor for the class.// == Remarks == * //None// == Parameters == * //shapePathFilename// * Type:String * Description:This parameter is the Shape File path and filename. * //indexPathFilename// * Type:String * Description:This parameter is the index file path and filename. * //readWriteMode// * Type:[[ThinkGeo.MapSuite.Layers.GeoFileReadWriteMode|GeoFileReadWriteMode]] * Description:This parameter specifies whether the file will be opened in read-only or read/write mode. * //encoding// * Type:Encoding * Description:This parameter specifies the encoding of the data.
==== Protected Constructors ==== ==== Public Methods ==== ** {{wiki:PublicMethod.gif|}} GetShapeFileType() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.MapSuite.Layers.ShapeFileType|ShapeFileType]] * Description:The ShapeFileType for the ShapeFile FeatureSource. == Parameters ==
** {{wiki:PublicMethod.gif|}} Validate() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Dictionary * Description:A dictionary which contains all the unsupported features. The key is the Indexs which failed to pass the check, the value contains the reason for its failure. == Parameters ==
** {{wiki:PublicMethod.gif|}} GetThreadSafetyLevel() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.MapSuite.Layers.ThreadSafetyLevel|ThreadSafetyLevel]] * Description:N/A == Parameters ==
** {{wiki:PublicMethod.gif|}} CloneDeep() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.MapSuite.Layers.Layer|Layer]] * Description:N/A == Parameters ==
** {{wiki:PublicMethod.gif|}} Open() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters ==
** {{wiki:PublicMethod.gif|}} Close() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters ==
** {{wiki:PublicMethod.gif|}} GetBoundingBox() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.MapSuite.Shapes.RectangleShape|RectangleShape]] * Description:N/A == Parameters ==
** {{wiki:PublicMethod.gif|}} Draw(GeoCanvas,Collection) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //canvas// * Type:[[ThinkGeo.MapSuite.Drawing.GeoCanvas|GeoCanvas]] * Description:N/A * //labelsInAllLayers// * Type:Collection<[[ThinkGeo.MapSuite.Styles.SimpleCandidate|SimpleCandidate]]> * Description:N/A
** {{wiki:PublicMethod.gif|}} RequestDrawing() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters ==
** {{wiki:PublicMethod.gif|}} RequestDrawing(RectangleShape) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //extentToRefresh// * Type:[[ThinkGeo.MapSuite.Shapes.RectangleShape|RectangleShape]] * Description:N/A
** {{wiki:PublicMethod.gif|}} RequestDrawing(IEnumerable) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //extentsToRefresh// * Type:IEnumerable<[[ThinkGeo.MapSuite.Shapes.RectangleShape|RectangleShape]]> * Description:N/A
** {{wiki:PublicMethod.gif|}} RequestDrawing(TimeSpan) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //bufferTime// * Type:TimeSpan * Description:N/A
** {{wiki:PublicMethod.gif|}} RequestDrawing(TimeSpan,RequestDrawingBufferTimeType) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //bufferTime// * Type:TimeSpan * Description:N/A * //bufferTimeType// * Type:[[ThinkGeo.MapSuite.Layers.RequestDrawingBufferTimeType|RequestDrawingBufferTimeType]] * Description:N/A
** {{wiki:PublicMethod.gif|}} RequestDrawing(RectangleShape,TimeSpan) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //extentToRefresh// * Type:[[ThinkGeo.MapSuite.Shapes.RectangleShape|RectangleShape]] * Description:N/A * //bufferTime// * Type:TimeSpan * Description:N/A
** {{wiki:PublicMethod.gif|}} RequestDrawing(RectangleShape,TimeSpan,RequestDrawingBufferTimeType) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //extentToRefresh// * Type:[[ThinkGeo.MapSuite.Shapes.RectangleShape|RectangleShape]] * Description:N/A * //bufferTime// * Type:TimeSpan * Description:N/A * //bufferTimeType// * Type:[[ThinkGeo.MapSuite.Layers.RequestDrawingBufferTimeType|RequestDrawingBufferTimeType]] * Description:N/A
** {{wiki:PublicMethod.gif|}} RequestDrawing(IEnumerable,TimeSpan) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //extentsToRefresh// * Type:IEnumerable<[[ThinkGeo.MapSuite.Shapes.RectangleShape|RectangleShape]]> * Description:N/A * //bufferTime// * Type:TimeSpan * Description:N/A
** {{wiki:PublicMethod.gif|}} RequestDrawing(IEnumerable,TimeSpan,RequestDrawingBufferTimeType) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //extentsToRefresh// * Type:IEnumerable<[[ThinkGeo.MapSuite.Shapes.RectangleShape|RectangleShape]]> * Description:N/A * //bufferTime// * Type:TimeSpan * Description:N/A * //bufferTimeType// * Type:[[ThinkGeo.MapSuite.Layers.RequestDrawingBufferTimeType|RequestDrawingBufferTimeType]] * Description:N/A
** {{wiki:PublicMethod.gif|}} ToString() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:String * Description:N/A == Parameters ==
** {{wiki:PublicMethod.gif|}} Equals(Object) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Boolean * Description:N/A == Parameters == * //obj// * Type:Object * Description:N/A
** {{wiki:PublicMethod.gif|}} GetHashCode() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Int32 * Description:N/A == Parameters ==
** {{wiki:PublicMethod.gif|}} GetType() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Type * Description:N/A == Parameters ==
** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} Rebuild(String) ** * //N/A// == Remarks == * //This method rebuilds the SHP, SHX, DBF, IDX and IDS files for the given shape file. When we do editing we have optimized the updates so that we do not need to rebuild the entire shape file. This leads to the shape file being out of order which may cause it not to open in other tools. One optimization is if you update a record instead of rebuilding a new shape file we mark the old record as null and add the edited record at the end of the shape file. This greatly increases the speed of committing shape file changes but will over time unorder the shape file. In addition we do a delete the DBF file will simply mark the record deleted and not compact the space. Rebuilding the shape file will correctly order the SPX and SHX along with compacting the DBF file and rebuild any index with the same any of the shape file if it exists. Note that if you have build custom index files where the name of the index differs from that of the shape file you will need to rebuild those manually using the BuildIndex methods.// == Return Value == * Type:Void * Description:None == Parameters == * //shapePathFilename// * Type:String * Description:This parameter is the shape file you want to rebuild.
** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} Rebuild(String,ShapeFileSortingMode,Int32) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //shapePathFilename// * Type:String * Description:N/A * //sortingMode// * Type:[[ThinkGeo.MapSuite.Layers.ShapeFileSortingMode|ShapeFileSortingMode]] * Description:N/A * //sridForSorting// * Type:Int32 * Description:N/A
** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} CreateShapeFile(ShapeFileType,String,IEnumerable) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //shapeType// * Type:[[ThinkGeo.MapSuite.Layers.ShapeFileType|ShapeFileType]] * Description:This parameter specifies the the Shape File type for the target Shape File. * //pathFilename// * Type:String * Description:This parameter specifies the Shape filename for the target Shape File. * //databaseColumns// * Type:IEnumerable<[[ThinkGeo.MapSuite.Layers.DbfColumn|DbfColumn]]> * Description:This parameter specifies the DBF column information for the target Shape File.
** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} CreateShapeFile(ShapeFileType,String,IEnumerable,Encoding) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //shapeType// * Type:[[ThinkGeo.MapSuite.Layers.ShapeFileType|ShapeFileType]] * Description:This parameter specifies the the Shape File type for the target Shape File. * //pathFilename// * Type:String * Description:This parameter specifies the Shape filename for the target Shape File. * //databaseColumns// * Type:IEnumerable<[[ThinkGeo.MapSuite.Layers.DbfColumn|DbfColumn]]> * Description:This parameter specifies the DBF column information for the target Shape File. * //encoding// * Type:Encoding * Description:This parameter specifies the DBF encoding infromation for the target Shape File.
** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} CreateShapeFile(ShapeFileType,String,IEnumerable,Encoding,OverwriteMode) ** * //N/A// == Remarks == * //An exception will be thown when the target Shape File does not exist while the overwrite mode is set to DoNotOverwrite.// == Return Value == * Type:Void * Description:N/A == Parameters == * //shapeType// * Type:[[ThinkGeo.MapSuite.Layers.ShapeFileType|ShapeFileType]] * Description:This parameter specifies the the Shape File type for the target Shape File. * //pathFilename// * Type:String * Description:This parameter specifies the Shape filename for the target Shape File. * //databaseColumns// * Type:IEnumerable<[[ThinkGeo.MapSuite.Layers.DbfColumn|DbfColumn]]> * Description:This parameter specifies the DBF column information for the target Shape File. * //encoding// * Type:Encoding * Description:This parameter specifies the DBF encoding infromation for the target Shape File. * //overwriteMode// * Type:[[ThinkGeo.MapSuite.Layers.OverwriteMode|OverwriteMode]] * Description:This parameter specifies the override mode when the target Shape File exists.
** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} BuildIndexFile(String) ** * //N/A// == Remarks == * //This overload allows you to pass in the Shape File.// == Return Value == * Type:Void * Description:None == Parameters == * //pathFilename// * Type:String * Description:The path and filename to the Shape File.
** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} BuildIndexFile(String,String,BuildIndexMode) ** * //N/A// == Remarks == * //This overload builds an index file with the same name as the shape file with only the extension being different. You can also specify if you want to rebuild an existing index file.// == Return Value == * Type:Void * Description:None == Parameters == * //shapePathFilename// * Type:String * Description:This parameter is the shape file name and path that you want to build an index for. * //indexPathFilename// * Type:String * Description:This parameter specifies the index file name. * //buildIndexMode// * Type:[[ThinkGeo.MapSuite.Layers.BuildIndexMode|BuildIndexMode]] * Description:This parameter determines what will happen if there is an existing index file.
** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} BuildIndexFile(String,BuildIndexMode) ** * //N/A// == Remarks == * //This overload allows you to pass in the Shape File and determines if we rebuild an index file that already exists.// == Return Value == * Type:Void * Description:None == Parameters == * //pathFilename// * Type:String * Description:This parameter is the matching pattern that defines which Shape Files to include. * //rebuildExistingIndexMode// * Type:[[ThinkGeo.MapSuite.Layers.BuildIndexMode|BuildIndexMode]] * Description:This parameter determines whether an index file will be rebuilt if it already exists.
** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} BuildIndexFile(IEnumerable,String) ** * //N/A// == Remarks == * //This overload allows you to pass in a group of features and specify the index filename to use.// == Return Value == * Type:Void * Description:None == Parameters == * //features// * Type:IEnumerable<[[ThinkGeo.MapSuite.Shapes.Feature|Feature]]> * Description:This parameter specifies the features for which to build the index. * //indexPathFilename// * Type:String * Description:This parameter specifies the target index path and filename.
** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} BuildIndexFile(IEnumerable,String,Projection) ** * //N/A// == Remarks == * //This overload allows you to pass in a group of features and specify a target projection and the index filename to use.// == Return Value == * Type:Void * Description:None == Parameters == * //features// * Type:IEnumerable<[[ThinkGeo.MapSuite.Shapes.Feature|Feature]]> * Description:This parameter specifies the features for which to build the index. * //indexPathFilename// * Type:String * Description:This parameter specifies the target index path and filename. * //projection// * Type:[[ThinkGeo.MapSuite.Shapes.Projection|Projection]] * Description:This parameter specifies the projection to build index against those features.
** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} BuildIndexFile(IEnumerable,String,BuildIndexMode) ** * //N/A// == Remarks == * //This overload allows you to pass in a group of features and specify the index filename to use.// == Return Value == * Type:Void * Description:None == Parameters == * //features// * Type:IEnumerable<[[ThinkGeo.MapSuite.Shapes.Feature|Feature]]> * Description:This parameter specifies the features for which to build the index. * //indexPathFilename// * Type:String * Description:This parameter determines the target index path filename. * //buildIndexMode// * Type:[[ThinkGeo.MapSuite.Layers.BuildIndexMode|BuildIndexMode]] * Description:This parameter determines whether an index file will be rebuilt if it already exists.
** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} BuildIndexFile(IEnumerable,String,Projection,BuildIndexMode) ** * //N/A// == Remarks == * //This overload allows you to pass in a group of features and specify a target projection and the index filename to use.// == Return Value == * Type:Void * Description:None == Parameters == * //features// * Type:IEnumerable<[[ThinkGeo.MapSuite.Shapes.Feature|Feature]]> * Description:This parameter specifies the features for which to build the index. * //indexPathFilename// * Type:String * Description:This parameter determines the target index path filename. * //projection// * Type:[[ThinkGeo.MapSuite.Shapes.Projection|Projection]] * Description:This parameter determines the Projection to build index against those features. * //buildIndexMode// * Type:[[ThinkGeo.MapSuite.Layers.BuildIndexMode|BuildIndexMode]] * Description:This parameter determines whether an index file will be rebuilt if it already exists.
** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} BuildIndexFile(String,String,String,String,BuildIndexMode) ** * //N/A// == Remarks == * //This overload allows you to pass in a Shape File and specify the index filename to use.// == Return Value == * Type:Void * Description:None == Parameters == * //shapePathFilename// * Type:String * Description:This parameter specifies the Shape File for which to build the index. * //indexPathFilename// * Type:String * Description:This parameter determines the target index path filename. * //columnName// * Type:String * Description:This parameter determines the column name whose values will be tested against the regular expression. * //regularExpression// * Type:String * Description:This parameter represents the regular expression to test against each feature for inclusion in the index. * //buildIndexMode// * Type:[[ThinkGeo.MapSuite.Layers.BuildIndexMode|BuildIndexMode]] * Description:This parameter determines whether an index file will be rebuilt if it already exists.
** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} BuildIndexFile(String,String,Projection,String,String,BuildIndexMode) ** * //N/A// == Remarks == * //This overload allows you to pass in a Shape File and specify the index filename to use.// == Return Value == * Type:Void * Description:None == Parameters == * //shapePathFilename// * Type:String * Description:This parameter specifies the Shape File for which to build the index. * //indexPathFilename// * Type:String * Description:This parameter determines the target index path filename. * //projection// * Type:[[ThinkGeo.MapSuite.Shapes.Projection|Projection]] * Description:This parameter determines the projection that will be used to build the index against those features that satisfy the regular expression. * //columnName// * Type:String * Description:This parameter determines the column name whose values will be tested against the regular expression. * //regularExpression// * Type:String * Description:This parameter represents the regular expression to test against each feature for inclusion in the index. * //buildIndexMode// * Type:[[ThinkGeo.MapSuite.Layers.BuildIndexMode|BuildIndexMode]] * Description:This parameter determines whether an index file will be rebuilt if it already exists.
** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} BuildIndexFile(String,String,Projection,String,String,BuildIndexMode,Encoding) ** * //N/A// == Remarks == * //This overload allows you to pass in a Shape File and specify the index filename to use.// == Return Value == * Type:Void * Description:None == Parameters == * //shapePathFilename// * Type:String * Description:This parameter specifies the Shape File for which to build the index. * //indexPathFilename// * Type:String * Description:This parameter determines the target index path filename. * //projection// * Type:[[ThinkGeo.MapSuite.Shapes.Projection|Projection]] * Description:This parameter determines the projection that will be used to build the index against those features that satisfy the regular expression. * //columnName// * Type:String * Description:This parameter determines the column name whose values will be tested against the regular expression. * //regularExpression// * Type:String * Description:This parameter represents the regular expression to test against each feature for inclusion in the index. * //buildIndexMode// * Type:[[ThinkGeo.MapSuite.Layers.BuildIndexMode|BuildIndexMode]] * Description:This parameter determines whether an index file will be rebuilt if it already exists. * //encoding// * Type:Encoding * Description:This parameter specifies the encoding information used in the source DBF file.
** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} CloneShapeFileStructure(String,String) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //sourceShapePathFilename// * Type:String * Description:The source Shape File to be cloned. * //targetShapePathFilename// * Type:String * Description:The target Shape File, which will have the same structure as the source Shape File after cloning operation is complete.
** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} CloneShapeFileStructure(String,String,OverwriteMode) ** * //N/A// == Remarks == * //An exception will be thown when the target ShapeFile does not exist and the overwrite mode is set to DoNotOverwrite.// == Return Value == * Type:Void * Description:N/A == Parameters == * //sourceShapePathFilename// * Type:String * Description:The source Shape File to be cloned. * //targetShapePathFilename// * Type:String * Description:The target Shape File, which will have the same structure as the source Shape File after cloning operation is complete. * //overwriteMode// * Type:[[ThinkGeo.MapSuite.Layers.OverwriteMode|OverwriteMode]] * Description:This parameter specifies the overwrite mode when the target ShapeFile already exists.
** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} CloneShapeFileStructure(String,String,OverwriteMode,Encoding) ** * //N/A// == Remarks == * //An exception will be thown when the target ShapeFile does not exist and the overwrite mode is set to DoNotOverwrite.// == Return Value == * Type:Void * Description:N/A == Parameters == * //sourceShapePathFilename// * Type:String * Description:The source Shape File to be cloned. * //targetShapePathFilename// * Type:String * Description:The target Shape File, which will have the same structure as the source Shape File after cloning operation is complete. * //overwriteMode// * Type:[[ThinkGeo.MapSuite.Layers.OverwriteMode|OverwriteMode]] * Description:This parameter specifies the overwrite mode when the target ShapeFile already exists. * //encoding// * Type:Encoding * Description:This parameter specifies the encoding information in the source Shape File.
** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} BuildRecordIdColumn(String,String,BuildRecordIdMode) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //shapeFilename// * Type:String * Description:The name of the target ShapeFile on which to base the newly built RecordId. * //fieldname// * Type:String * Description:The field name for the RecordId. * //rebuildNeeded// * Type:[[ThinkGeo.MapSuite.Layers.BuildRecordIdMode|BuildRecordIdMode]] * Description:The RecordId build mode.
** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} BuildRecordIdColumn(String,String,BuildRecordIdMode,Int32) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //shapeFilename// * Type:String * Description:The name of the target ShapeFile on which to base the newly built RecordId. * //fieldname// * Type:String * Description:The field name for the RecordId. * //rebuildNeeded// * Type:[[ThinkGeo.MapSuite.Layers.BuildRecordIdMode|BuildRecordIdMode]] * Description:The RecordId build mode. * //startNumber// * Type:Int32 * Description:The starting Id number of the RecordId.
** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} BuildRecordIdColumn(String,String,BuildRecordIdMode,Int32,Encoding) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //shapeFilename// * Type:String * Description:The name of the target ShapeFile on which to base the newly built RecordId. * //fieldname// * Type:String * Description:The field name for the RecordId. * //rebuildNeeded// * Type:[[ThinkGeo.MapSuite.Layers.BuildRecordIdMode|BuildRecordIdMode]] * Description:The RecordId build mode. * //startNumber// * Type:Int32 * Description:The starting Id number of the RecordId. * //encoding// * Type:Encoding * Description:This parameter specifies the encoding information in the DBF.
** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} SaveToProjection(String,String,Projection,OverwriteMode) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //sourceShapeFile// * Type:String * Description:This parameter specifies the source shape file to be projected. * //targetShapeFile// * Type:String * Description:This parameter specifies the target shape file to be saved for the projected features. * //projection// * Type:[[ThinkGeo.MapSuite.Shapes.Projection|Projection]] * Description:This parameter is the projection to project the source shape file to target shape file. The source Shape file should be in the FromProjection of the Projection prameter, and the targetShapeFile will be in the ToProjection of the Projection. * //overwriteMode// * Type:[[ThinkGeo.MapSuite.Layers.OverwriteMode|OverwriteMode]] * Description:This parameter specifies the override mode when the target shape file exists.
** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} GetValidColumns(IEnumerable) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Collection<[[ThinkGeo.MapSuite.Layers.DbfColumn|DbfColumn]]> * Description:N/A == Parameters == * //columns// * Type:IEnumerable<[[ThinkGeo.MapSuite.Layers.DbfColumn|DbfColumn]]> * Description:N/A
** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} GetValidColumns(IEnumerable,Encoding) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Collection<[[ThinkGeo.MapSuite.Layers.DbfColumn|DbfColumn]]> * Description:N/A == Parameters == * //columns// * Type:IEnumerable<[[ThinkGeo.MapSuite.Layers.DbfColumn|DbfColumn]]> * Description:N/A * //encoding// * Type:Encoding * Description:N/A
** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} GetValidColumnNames(IEnumerable) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Collection * Description:N/A == Parameters == * //columnNames// * Type:IEnumerable * Description:N/A
** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} GetValidColumnNames(IEnumerable,Encoding) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Collection * Description:N/A == Parameters == * //columnNames// * Type:IEnumerable * Description:N/A * //encoding// * Type:Encoding * Description:N/A
===== Protected Methods ===== ** {{wiki:ProtectedMethod.gif|}} CloneDeepCore() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.MapSuite.Layers.Layer|Layer]] * Description:N/A == Parameters ==
** {{wiki:ProtectedMethod.gif|}} DrawCore(GeoCanvas,Collection) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //canvas// * Type:[[ThinkGeo.MapSuite.Drawing.GeoCanvas|GeoCanvas]] * Description:N/A * //labelsInAllLayers// * Type:Collection<[[ThinkGeo.MapSuite.Styles.SimpleCandidate|SimpleCandidate]]> * Description:N/A
** {{wiki:ProtectedMethod.gif|}} OnDrawingFeatures(DrawingFeaturesEventArgs) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //e// * Type:[[ThinkGeo.MapSuite.Layers.DrawingFeaturesEventArgs|DrawingFeaturesEventArgs]] * Description:N/A
** {{wiki:ProtectedMethod.gif|}} OnDrawingWrappingFeatures(DrawingWrappingFeaturesFeatureLayerEventArgs) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //e// * Type:[[ThinkGeo.MapSuite.Layers.DrawingWrappingFeaturesFeatureLayerEventArgs|DrawingWrappingFeaturesFeatureLayerEventArgs]] * Description:N/A
** {{wiki:ProtectedMethod.gif|}} SetupTools() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters ==
** {{wiki:ProtectedMethod.gif|}} SetupToolsCore() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters ==
** {{wiki:ProtectedMethod.gif|}} OpenCore() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters ==
** {{wiki:ProtectedMethod.gif|}} CloseCore() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters ==
** {{wiki:ProtectedMethod.gif|}} GetBoundingBoxCore() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.MapSuite.Shapes.RectangleShape|RectangleShape]] * Description:N/A == Parameters ==
** {{wiki:ProtectedMethod.gif|}} GetWrappingFeaturesForDrawing(WrappingWorldDirection,RectangleShape,Double,Double,IEnumerable,RectangleShape) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Collection<[[ThinkGeo.MapSuite.Shapes.Feature|Feature]]> * Description:N/A == Parameters == * //wrappingFeatureDirection// * Type:[[ThinkGeo.MapSuite.Layers.WrappingWorldDirection|WrappingWorldDirection]] * Description:N/A * //drawingWorldExtent// * Type:[[ThinkGeo.MapSuite.Shapes.RectangleShape|RectangleShape]] * Description:N/A * //canvasWidth// * Type:Double * Description:N/A * //canvasHeight// * Type:Double * Description:N/A * //returningColumnNames// * Type:IEnumerable * Description:N/A * //wrappingWorldExtent// * Type:[[ThinkGeo.MapSuite.Shapes.RectangleShape|RectangleShape]] * Description:N/A
** {{wiki:ProtectedMethod.gif|}} OnRequestingDrawing(RequestingDrawingLayerEventArgs) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //eventArgs// * Type:[[ThinkGeo.MapSuite.Layers.RequestingDrawingLayerEventArgs|RequestingDrawingLayerEventArgs]] * Description:N/A
** {{wiki:ProtectedMethod.gif|}} GetThreadSafetyLevelCore() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.MapSuite.Layers.ThreadSafetyLevel|ThreadSafetyLevel]] * Description:N/A == Parameters ==
** {{wiki:ProtectedMethod.gif|}} DrawException(GeoCanvas,Exception) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //canvas// * Type:[[ThinkGeo.MapSuite.Drawing.GeoCanvas|GeoCanvas]] * Description:N/A * //e// * Type:Exception * Description:N/A
** {{wiki:ProtectedMethod.gif|}} DrawExceptionCore(GeoCanvas,Exception) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //canvas// * Type:[[ThinkGeo.MapSuite.Drawing.GeoCanvas|GeoCanvas]] * Description:N/A * //e// * Type:Exception * Description:N/A
** {{wiki:ProtectedMethod.gif|}} OnDrawingException(DrawingExceptionLayerEventArgs) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //e// * Type:[[ThinkGeo.MapSuite.Layers.DrawingExceptionLayerEventArgs|DrawingExceptionLayerEventArgs]] * Description:N/A
** {{wiki:ProtectedMethod.gif|}} OnDrawnException(DrawnExceptionLayerEventArgs) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //e// * Type:[[ThinkGeo.MapSuite.Layers.DrawnExceptionLayerEventArgs|DrawnExceptionLayerEventArgs]] * Description:N/A
** {{wiki:ProtectedMethod.gif|}} DrawAttributionCore(GeoCanvas,String) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //canvas// * Type:[[ThinkGeo.MapSuite.Drawing.GeoCanvas|GeoCanvas]] * Description:N/A * //attribution// * Type:String * Description:N/A
** {{wiki:ProtectedMethod.gif|}} OnDrawingAttribution(DrawingAttributionLayerEventArgs) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //args// * Type:[[ThinkGeo.MapSuite.Layers.DrawingAttributionLayerEventArgs|DrawingAttributionLayerEventArgs]] * Description:N/A
** {{wiki:ProtectedMethod.gif|}} OnDrawnAttribution(DrawnAttributionLayerEventArgs) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //args// * Type:[[ThinkGeo.MapSuite.Layers.DrawnAttributionLayerEventArgs|DrawnAttributionLayerEventArgs]] * Description:N/A
** {{wiki:ProtectedMethod.gif|}} OnDrawingProgressChanged(DrawingProgressChangedEventArgs) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //e// * Type:[[ThinkGeo.MapSuite.Drawing.DrawingProgressChangedEventArgs|DrawingProgressChangedEventArgs]] * Description:N/A
** {{wiki:ProtectedMethod.gif|}} OnRequestedDrawing(RequestedDrawingLayerEventArgs) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //eventArgs// * Type:[[ThinkGeo.MapSuite.Layers.RequestedDrawingLayerEventArgs|RequestedDrawingLayerEventArgs]] * Description:N/A
** {{wiki:ProtectedMethod.gif|}} Finalize() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters ==
** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Object * Description:N/A == Parameters ==
==== Public Properties ==== ** {{wiki:PublicProperty.gif|}} HasBoundingBox ** * //N/A// == Remarks == * //The default implementation in the base class returns false.// == Return Value == * Type:Boolean ** {{wiki:PublicProperty.gif|}} UsingSpatialIndex ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Boolean ** {{wiki:PublicProperty.gif|}} Encoding ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Encoding ** {{wiki:PublicProperty.gif|}} ShapePathFilename ** * //N/A// == Remarks == * //None// == Return Value == * Type:String ** {{wiki:PublicProperty.gif|}} IndexPathFilename ** * //N/A// == Remarks == * //None// == Return Value == * Type:String ** {{wiki:PublicProperty.gif|}} ReadWriteMode ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.MapSuite.Layers.GeoFileReadWriteMode|GeoFileReadWriteMode]] ** {{wiki:PublicProperty.gif|}} RequireIndex ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Boolean ** {{wiki:PublicProperty.gif|}} ProgressiveDrawingRecordsCount ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Int32 ** {{wiki:PublicProperty.gif|}} SimplificationAreaInPixel ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Int32 ** {{wiki:PublicProperty.gif|}} WrappingExtent ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.MapSuite.Shapes.RectangleShape|RectangleShape]] ** {{wiki:PublicProperty.gif|}} WrappingMode ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.MapSuite.Layers.WrappingMode|WrappingMode]] ** {{wiki:PublicProperty.gif|}} EditTools ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.MapSuite.Layers.EditTools|EditTools]] ** {{wiki:PublicProperty.gif|}} FeatureIdsToExclude ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Collection ** {{wiki:PublicProperty.gif|}} QueryTools ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.MapSuite.Layers.QueryTools|QueryTools]] ** {{wiki:PublicProperty.gif|}} MaxRecordsToDraw ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Int32 ** {{wiki:PublicProperty.gif|}} FeatureSource ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.MapSuite.Layers.FeatureSource|FeatureSource]] ** {{wiki:PublicProperty.gif|}} DrawingQuality ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.MapSuite.Drawing.DrawingQuality|DrawingQuality]] ** {{wiki:PublicProperty.gif|}} ZoomLevelSet ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.MapSuite.Layers.ZoomLevelSet|ZoomLevelSet]] ** {{wiki:PublicProperty.gif|}} DrawingMarginInPixel ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Single ** {{wiki:PublicProperty.gif|}} GeometryValidationMode ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.MapSuite.Layers.GeometryValidationMode|GeometryValidationMode]] ** {{wiki:PublicProperty.gif|}} IsOpen ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Boolean ** {{wiki:PublicProperty.gif|}} DrawingTime ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:TimeSpan ** {{wiki:PublicProperty.gif|}} Name ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:String ** {{wiki:PublicProperty.gif|}} Attribution ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:String ** {{wiki:PublicProperty.gif|}} IsVisible ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Boolean ** {{wiki:PublicProperty.gif|}} Transparency ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Single ** {{wiki:PublicProperty.gif|}} BlueTranslation ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Single ** {{wiki:PublicProperty.gif|}} RedTranslation ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Single ** {{wiki:PublicProperty.gif|}} GreenTranslation ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Single ** {{wiki:PublicProperty.gif|}} KeyColors ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Collection<[[ThinkGeo.MapSuite.Drawing.GeoColor|GeoColor]]> ** {{wiki:PublicProperty.gif|}} IsNegative ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Boolean ** {{wiki:PublicProperty.gif|}} IsGrayscale ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Boolean ** {{wiki:PublicProperty.gif|}} ColorMappings ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Dictionary<[[ThinkGeo.MapSuite.Drawing.GeoColor|GeoColor]],[[ThinkGeo.MapSuite.Drawing.GeoColor|GeoColor]]> ** {{wiki:PublicProperty.gif|}} DrawingExceptionMode ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.MapSuite.Drawing.DrawingExceptionMode|DrawingExceptionMode]] ** {{wiki:PublicProperty.gif|}} RequestDrawingInterval ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:TimeSpan ==== Protected Properties ==== ** {{wiki:ProtectedProperty.gif|}} FetchedCount ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Int64 ** {{wiki:ProtectedProperty.gif|}} FetchedBytes ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Int64 ** {{wiki:ProtectedProperty.gif|}} StyleTime ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:TimeSpan ** {{wiki:ProtectedProperty.gif|}} FetchTime ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:TimeSpan ** {{wiki:ProtectedProperty.gif|}} IsOpenCore ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Boolean ** {{wiki:ProtectedProperty.gif|}} StatusChanged ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Boolean ==== Public Events ==== ** {{wiki:PublicEvent.gif|}} StreamLoading ** * //N/A// == Remarks == * //If you choose you can pass in your own stream to represent the file. The stream can come from a variety of places such as isolated storage, a compressed file, and encrypted stream. When the Image is finished with the stream it will dispose of it so be sure to keep this in mind when passing the stream in. If you do not pass in a alternate stream the class will attempt to load the file from the file system using the PathFilename property.// Event Arguments:[[ThinkGeo.MapSuite.Layers.StreamLoadingEventArgs|StreamLoadingEventArgs]] ** {{wiki:PublicEvent.gif|}} DrawingFeatures ** * //N/A// == Remarks == * //N/A// Event Arguments:[[ThinkGeo.MapSuite.Layers.DrawingFeaturesEventArgs|DrawingFeaturesEventArgs]] ** {{wiki:PublicEvent.gif|}} DrawingWrappingFeatures ** * //N/A// == Remarks == * //N/A// Event Arguments:[[ThinkGeo.MapSuite.Layers.DrawingWrappingFeaturesFeatureLayerEventArgs|DrawingWrappingFeaturesFeatureLayerEventArgs]] ** {{wiki:PublicEvent.gif|}} DrawingProgressChanged ** * //N/A// == Remarks == * //N/A// Event Arguments:[[ThinkGeo.MapSuite.Drawing.DrawingProgressChangedEventArgs|DrawingProgressChangedEventArgs]] ** {{wiki:PublicEvent.gif|}} DrawingException ** * //N/A// == Remarks == * //N/A// Event Arguments:[[ThinkGeo.MapSuite.Layers.DrawingExceptionLayerEventArgs|DrawingExceptionLayerEventArgs]] ** {{wiki:PublicEvent.gif|}} DrawnException ** * //N/A// == Remarks == * //N/A// Event Arguments:[[ThinkGeo.MapSuite.Layers.DrawnExceptionLayerEventArgs|DrawnExceptionLayerEventArgs]] ** {{wiki:PublicEvent.gif|}} DrawingAttribution ** * //N/A// == Remarks == * //N/A// Event Arguments:[[ThinkGeo.MapSuite.Layers.DrawingAttributionLayerEventArgs|DrawingAttributionLayerEventArgs]] ** {{wiki:PublicEvent.gif|}} DrawnAttribution ** * //N/A// == Remarks == * //N/A// Event Arguments:[[ThinkGeo.MapSuite.Layers.DrawnAttributionLayerEventArgs|DrawnAttributionLayerEventArgs]] ** {{wiki:PublicEvent.gif|}} RequestedDrawing ** * //N/A// == Remarks == * //N/A// Event Arguments:[[ThinkGeo.MapSuite.Layers.RequestedDrawingLayerEventArgs|RequestedDrawingLayerEventArgs]] ** {{wiki:PublicEvent.gif|}} RequestingDrawing ** * //N/A// == Remarks == * //N/A// Event Arguments:[[ThinkGeo.MapSuite.Layers.RequestingDrawingLayerEventArgs|RequestingDrawingLayerEventArgs]]