This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
thinkgeo.mapsuite.portablecore.shapefilefeaturelayer [2015/08/20 03:08] 127.0.0.1 external edit |
thinkgeo.mapsuite.portablecore.shapefilefeaturelayer [2017/03/16 21:59] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== ThinkGeo.MapSuite.PortableCore.ShapeFileFeatureLayer ====== | + | ====== ThinkGeo.MapSuite.Core.ShapeFileFeatureLayer ====== |
+ | {{section>upgrade_map_suite_to_10.0}} | ||
- | |||
- | <!-- Class --> | ||
This class represents a Layer backed by a Shape File. | This class represents a Layer backed by a Shape File. | ||
===== Inheritance Hierarchy ===== | ===== Inheritance Hierarchy ===== | ||
- | *System.Object | + | *System.Object |
- | **[[ThinkGeo.MapSuite.PortableCore.Layer]] | + | *ThinkGeo.MapSuite.Core.Layer |
- | ***[[ThinkGeo.MapSuite.PortableCore.FeatureLayer]] | + | *ThinkGeo.MapSuite.Core.FeatureLayer |
- | ****[[ThinkGeo.MapSuite.PortableCore.ShapeFileFeatureLayer]] | + | ***ThinkGeo.MapSuite.Core.ShapeFileFeatureLayer** |
===== Members Summary ===== | ===== Members Summary ===== | ||
==== Public Constructors ==== | ==== Public Constructors ==== | ||
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | + | ** {{wiki:PublicMethod.gif|}} ShapeFileFeatureLayer() ** |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#ShapeFileFeatureLayer()|ShapeFileFeatureLayer]] | | | This is a constructor for the class. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#ShapeFileFeatureLayer(String)|ShapeFileFeatureLayer]] | String | | This is a constructor for the class. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#ShapeFileFeatureLayer(String, ShapeFileReadWriteMode)|ShapeFileFeatureLayer]] | String, [[ThinkGeo.MapSuite.PortableCore.ShapeFileReadWriteMode|ShapeFileReadWriteMode]] | | This is a constructor for the class. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#ShapeFileFeatureLayer(String, String)|ShapeFileFeatureLayer]] | String, String | | This is a constructor for the class. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#ShapeFileFeatureLayer(String, String, ShapeFileReadWriteMode)|ShapeFileFeatureLayer]] | String, String, [[ThinkGeo.MapSuite.PortableCore.ShapeFileReadWriteMode|ShapeFileReadWriteMode]] | | This is a constructor for the class. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#ShapeFileFeatureLayer(String, String, ShapeFileReadWriteMode, Encoding)|ShapeFileFeatureLayer]] | String, String, [[ThinkGeo.MapSuite.PortableCore.ShapeFileReadWriteMode|ShapeFileReadWriteMode]], Encoding | | This is a constructor for the class. | | + | |
- | ==== Protected Constructors ==== | + | * //This is a constructor for the class.// |
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | + | == Remarks == |
+ | * //This is the default constructor. If you use this constructor, then you should set the required methods manually.// | ||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ** {{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. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} ShapeFileFeatureLayer(String,ShapeFileReadWriteMode) ** | ||
+ | |||
+ | * //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.Core.ShapeFileReadWriteMode|ShapeFileReadWriteMode]] | ||
+ | * Description:This parameter specifies whether the file will be opened in read-only or read/write mode. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{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. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} ShapeFileFeatureLayer(String,String,ShapeFileReadWriteMode) ** | ||
+ | |||
+ | * //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.Core.ShapeFileReadWriteMode|ShapeFileReadWriteMode]] | ||
+ | * Description:This parameter specifies whether the file will be opened in read-only or read/write mode. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} ShapeFileFeatureLayer(String,String,ShapeFileReadWriteMode,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.Core.ShapeFileReadWriteMode|ShapeFileReadWriteMode]] | ||
+ | * 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. | ||
+ | |||
+ | <div newline></div> | ||
+ | ==== Protected Constructors ==== | ||
==== Public Methods ==== | ==== Public Methods ==== | ||
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | + | ** {{wiki:PublicMethod.gif|}} GetShapeFileType() ** |
- | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#BuildIndexFile(String, String, Projection, String, String, BuildIndexMode, Encoding)|BuildIndexFile]] | String, String, [[ThinkGeo.MapSuite.PortableCore.Projection|Projection]], String, String, [[ThinkGeo.MapSuite.PortableCore.BuildIndexMode|BuildIndexMode]], Encoding | | This method builds a spatial index only for those features that satisfy a regular expression, based on a passed-in projection. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#BuildIndexFile(String)|BuildIndexFile]] | String | | This method builds a spatial index for the layer. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#BuildIndexFile(String, String, BuildIndexMode)|BuildIndexFile]] | String, String, [[ThinkGeo.MapSuite.PortableCore.BuildIndexMode|BuildIndexMode]] | | This method build a spatial index for the shape file which increases accessspeed. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#BuildIndexFile(String, BuildIndexMode)|BuildIndexFile]] | String, [[ThinkGeo.MapSuite.PortableCore.BuildIndexMode|BuildIndexMode]] | | This method builds a spatial index for the layer. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#BuildIndexFile(IEnumerable<Feature>, String)|BuildIndexFile]] | IEnumerable<[[ThinkGeo.MapSuite.PortableCore.Feature|Feature]]>, String | | This method builds a spatial index for the specified group of features. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#BuildIndexFile(IEnumerable<Feature>, String, Projection)|BuildIndexFile]] | IEnumerable<[[ThinkGeo.MapSuite.PortableCore.Feature|Feature]]>, String, [[ThinkGeo.MapSuite.PortableCore.Projection|Projection]] | | This method builds a spatial index for the specified group of features and target projection. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#BuildIndexFile(IEnumerable<Feature>, String, BuildIndexMode)|BuildIndexFile]] | IEnumerable<[[ThinkGeo.MapSuite.PortableCore.Feature|Feature]]>, String, [[ThinkGeo.MapSuite.PortableCore.BuildIndexMode|BuildIndexMode]] | | This method builds a spatial index for the specified group of features. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#BuildIndexFile(IEnumerable<Feature>, String, Projection, BuildIndexMode)|BuildIndexFile]] | IEnumerable<[[ThinkGeo.MapSuite.PortableCore.Feature|Feature]]>, String, [[ThinkGeo.MapSuite.PortableCore.Projection|Projection]], [[ThinkGeo.MapSuite.PortableCore.BuildIndexMode|BuildIndexMode]] | | This method builds a spatial index for the specified group of features. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#BuildIndexFile(String, String, String, String, BuildIndexMode)|BuildIndexFile]] | String, String, String, String, [[ThinkGeo.MapSuite.PortableCore.BuildIndexMode|BuildIndexMode]] | | This method builds a spatial index only for those features that satisfy a regular expression. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#BuildIndexFile(String, String, Projection, String, String, BuildIndexMode)|BuildIndexFile]] | String, String, [[ThinkGeo.MapSuite.PortableCore.Projection|Projection]], String, String, [[ThinkGeo.MapSuite.PortableCore.BuildIndexMode|BuildIndexMode]] | | This method builds a spatial index only for those features that satisfy a regular expression, based on a passed-in projection. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#BuildRecordIdColumn(String, String, BuildRecordIdMode, Int32)|BuildRecordIdColumn]] | String, String, [[ThinkGeo.MapSuite.PortableCore.BuildRecordIdMode|BuildRecordIdMode]], Int32 | | Static API used to build RecordId from the specified starting Id number. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#BuildRecordIdColumn(String, String, BuildRecordIdMode, Int32, Encoding)|BuildRecordIdColumn]] | String, String, [[ThinkGeo.MapSuite.PortableCore.BuildRecordIdMode|BuildRecordIdMode]], Int32, Encoding | | Static API used to build RecordId from the specified starting Id number. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#BuildRecordIdColumn(String, String, BuildRecordIdMode)|BuildRecordIdColumn]] | String, String, [[ThinkGeo.MapSuite.PortableCore.BuildRecordIdMode|BuildRecordIdMode]] | | Static API used to build RecordId. The Id will start from 0. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#CloneDeep()|CloneDeep]] | | [[ThinkGeo.MapSuite.PortableCore.Layer|Layer]] | Create a copy of Layer using the deep clone process. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#CloneShapeFileStructure(String, String)|CloneShapeFileStructure]] | String, String | | Clone the structure from the source ShapeFile to the target ShapeFile. After cloning the structure, the target ShapeFile will have the same type and the same DBF columns as the source ShapeFile, but without any records in it. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#CloneShapeFileStructure(String, String, OverwriteMode)|CloneShapeFileStructure]] | String, String, [[ThinkGeo.MapSuite.PortableCore.OverwriteMode|OverwriteMode]] | | Clone the structure from the source ShapeFile to the target ShapeFile. After cloning the structure, the target ShapeFile will have the same type and the same DBF columns as the source ShapeFile, but without any records in it. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#CloneShapeFileStructure(String, String, OverwriteMode, Encoding)|CloneShapeFileStructure]] | String, String, [[ThinkGeo.MapSuite.PortableCore.OverwriteMode|OverwriteMode]], Encoding | | Clone the structure from the source ShapeFile to the target ShapeFile. After cloning the structure, the target ShapeFile will have the same type and the same DBF columns as the source ShapeFile, but without any records in it. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Close()|Close]] | | [[ThinkGeo.MapSuite.PortableCore.Layer|Layer]] | This method closes the Layer and releases any resources it was using. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#CreateShapeFile(ShapeFileType, String, IEnumerable<DbfColumn>)|CreateShapeFile]] | [[ThinkGeo.MapSuite.PortableCore.ShapeFileType|ShapeFileType]], String, IEnumerable<[[ThinkGeo.MapSuite.PortableCore.DbfColumn|DbfColumn]]> | | Static API to create a new Shape File. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#CreateShapeFile(ShapeFileType, String, IEnumerable<DbfColumn>, Encoding, OverwriteMode)|CreateShapeFile]] | [[ThinkGeo.MapSuite.PortableCore.ShapeFileType|ShapeFileType]], String, IEnumerable<[[ThinkGeo.MapSuite.PortableCore.DbfColumn|DbfColumn]]>, Encoding, [[ThinkGeo.MapSuite.PortableCore.OverwriteMode|OverwriteMode]] | | Static API to create a new Shape File. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#CreateShapeFile(ShapeFileType, String, IEnumerable<DbfColumn>, Encoding)|CreateShapeFile]] | [[ThinkGeo.MapSuite.PortableCore.ShapeFileType|ShapeFileType]], String, IEnumerable<[[ThinkGeo.MapSuite.PortableCore.DbfColumn|DbfColumn]]>, Encoding | | Static API to create a new Shape File. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Draw(GeoCanvas, Collection<SimpleCandidate>)|Draw]] | [[ThinkGeo.MapSuite.PortableCore.GeoCanvas|GeoCanvas]], Collection<[[ThinkGeo.MapSuite.PortableCore.SimpleCandidate|SimpleCandidate]]> | [[ThinkGeo.MapSuite.PortableCore.Layer|Layer]] | This method draws the Layer. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Equals(Object)|Equals]] | Object | Object | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetBoundingBox()|GetBoundingBox]] | | [[ThinkGeo.MapSuite.PortableCore.Layer|Layer]] | This method returns the bounding box of the Layer. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetHashCode()|GetHashCode]] | | Object | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetShapeFileType()|GetShapeFileType]] | | | Get the Shape File type for the Shape File FeatureSource. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetType()|GetType]] | | Object | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#GetValidColumnNames(IEnumerable<String>, Encoding)|GetValidColumnNames]] | IEnumerable<String>, Encoding | | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#GetValidColumnNames(IEnumerable<String>)|GetValidColumnNames]] | IEnumerable<String> | | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#GetValidColumns(IEnumerable<DbfColumn>, Encoding)|GetValidColumns]] | IEnumerable<[[ThinkGeo.MapSuite.PortableCore.DbfColumn|DbfColumn]]>, Encoding | | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#GetValidColumns(IEnumerable<DbfColumn>)|GetValidColumns]] | IEnumerable<[[ThinkGeo.MapSuite.PortableCore.DbfColumn|DbfColumn]]> | | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Open()|Open]] | | [[ThinkGeo.MapSuite.PortableCore.Layer|Layer]] | This method opens the Layer so that it is initialized and ready to use. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#Rebuild(String)|Rebuild]] | String | | This method rebuilds the SHP, SHX, DBF, IDX and IDS files for the given shape file. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#RequestDrawing(IEnumerable<RectangleShape>, TimeSpan)|RequestDrawing]] | IEnumerable<[[ThinkGeo.MapSuite.PortableCore.RectangleShape|RectangleShape]]>, TimeSpan | [[ThinkGeo.MapSuite.PortableCore.Layer|Layer]] | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#RequestDrawing(IEnumerable<RectangleShape>)|RequestDrawing]] | IEnumerable<[[ThinkGeo.MapSuite.PortableCore.RectangleShape|RectangleShape]]> | [[ThinkGeo.MapSuite.PortableCore.Layer|Layer]] | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#RequestDrawing(TimeSpan)|RequestDrawing]] | TimeSpan | [[ThinkGeo.MapSuite.PortableCore.Layer|Layer]] | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#RequestDrawing(RectangleShape)|RequestDrawing]] | [[ThinkGeo.MapSuite.PortableCore.RectangleShape|RectangleShape]] | [[ThinkGeo.MapSuite.PortableCore.Layer|Layer]] | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#RequestDrawing()|RequestDrawing]] | | [[ThinkGeo.MapSuite.PortableCore.Layer|Layer]] | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#RequestDrawing(RectangleShape, TimeSpan)|RequestDrawing]] | [[ThinkGeo.MapSuite.PortableCore.RectangleShape|RectangleShape]], TimeSpan | [[ThinkGeo.MapSuite.PortableCore.Layer|Layer]] | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#SaveToProjection(String, String, Projection, OverwriteMode)|SaveToProjection]] | String, String, [[ThinkGeo.MapSuite.PortableCore.Projection|Projection]], [[ThinkGeo.MapSuite.PortableCore.OverwriteMode|OverwriteMode]] | | This API provide a easy way to project features in a shape file into another projection and save it to shape file. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#ToString()|ToString]] | | Object | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Validate()|Validate]] | | | This method checks all features in a shapefile is supported by Mapsuite or not. | | + | |
- | ==== Protected Methods ==== | + | * //Get the Shape File type for the Shape File FeatureSource.// |
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | + | == Remarks == |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#CloneDeepCore()|CloneDeepCore]] | | [[ThinkGeo.MapSuite.PortableCore.Layer|Layer]](overriden) | | | + | * //N/A// |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#CloseCore()|CloseCore]] | | [[ThinkGeo.MapSuite.PortableCore.Layer|Layer]](overriden) | | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#DrawAttributionCore(GeoCanvas, String)|DrawAttributionCore]] | [[ThinkGeo.MapSuite.PortableCore.GeoCanvas|GeoCanvas]], String | [[ThinkGeo.MapSuite.PortableCore.Layer|Layer]] | | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#DrawCore(GeoCanvas, Collection<SimpleCandidate>)|DrawCore]] | [[ThinkGeo.MapSuite.PortableCore.GeoCanvas|GeoCanvas]], Collection<[[ThinkGeo.MapSuite.PortableCore.SimpleCandidate|SimpleCandidate]]> | [[ThinkGeo.MapSuite.PortableCore.Layer|Layer]](overriden) | | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#DrawException(GeoCanvas, Exception)|DrawException]] | [[ThinkGeo.MapSuite.PortableCore.GeoCanvas|GeoCanvas]], Exception | [[ThinkGeo.MapSuite.PortableCore.Layer|Layer]] | This method will draw on the canvas when the layer.Draw throw exception and the DrawExceptionMode is set to DrawException instead of ThrowException. | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#DrawExceptionCore(GeoCanvas, Exception)|DrawExceptionCore]] | [[ThinkGeo.MapSuite.PortableCore.GeoCanvas|GeoCanvas]], Exception | [[ThinkGeo.MapSuite.PortableCore.Layer|Layer]] | This method will draw on the canvas when the layer.Draw throw exception and the DrawExceptionMode is set to DrawException instead of ThrowException. | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#Finalize()|Finalize]] | | Object | | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#GetBoundingBoxCore()|GetBoundingBoxCore]] | | [[ThinkGeo.MapSuite.PortableCore.Layer|Layer]](overriden) | | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#MemberwiseClone()|MemberwiseClone]] | | Object | | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#OnDrawingAttribution(DrawingAttributionLayerEventArgs)|OnDrawingAttribution]] | [[ThinkGeo.MapSuite.PortableCore.DrawingAttributionLayerEventArgs|DrawingAttributionLayerEventArgs]] | [[ThinkGeo.MapSuite.PortableCore.Layer|Layer]] | | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#OnDrawingException(DrawingExceptionLayerEventArgs)|OnDrawingException]] | [[ThinkGeo.MapSuite.PortableCore.DrawingExceptionLayerEventArgs|DrawingExceptionLayerEventArgs]] | [[ThinkGeo.MapSuite.PortableCore.Layer|Layer]] | | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#OnDrawingFeatures(DrawingFeaturesEventArgs)|OnDrawingFeatures]] | [[ThinkGeo.MapSuite.PortableCore.DrawingFeaturesEventArgs|DrawingFeaturesEventArgs]] | [[ThinkGeo.MapSuite.PortableCore.FeatureLayer|FeatureLayer]] | This method raises the DrawingFeatures event. | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#OnDrawingProgressChanged(DrawingProgressChangedEventArgs)|OnDrawingProgressChanged]] | [[ThinkGeo.MapSuite.PortableCore.DrawingProgressChangedEventArgs|DrawingProgressChangedEventArgs]] | [[ThinkGeo.MapSuite.PortableCore.Layer|Layer]] | | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#OnDrawingWrappingFeatures(DrawingWrappingFeaturesFeatureLayerEventArgs)|OnDrawingWrappingFeatures]] | [[ThinkGeo.MapSuite.PortableCore.DrawingWrappingFeaturesFeatureLayerEventArgs|DrawingWrappingFeaturesFeatureLayerEventArgs]] | [[ThinkGeo.MapSuite.PortableCore.FeatureLayer|FeatureLayer]] | | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#OnDrawnAttribution(DrawnAttributionLayerEventArgs)|OnDrawnAttribution]] | [[ThinkGeo.MapSuite.PortableCore.DrawnAttributionLayerEventArgs|DrawnAttributionLayerEventArgs]] | [[ThinkGeo.MapSuite.PortableCore.Layer|Layer]] | | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#OnDrawnException(DrawnExceptionLayerEventArgs)|OnDrawnException]] | [[ThinkGeo.MapSuite.PortableCore.DrawnExceptionLayerEventArgs|DrawnExceptionLayerEventArgs]] | [[ThinkGeo.MapSuite.PortableCore.Layer|Layer]] | | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#OnRequestedDrawing(RequestedDrawingLayerEventArgs)|OnRequestedDrawing]] | [[ThinkGeo.MapSuite.PortableCore.RequestedDrawingLayerEventArgs|RequestedDrawingLayerEventArgs]] | [[ThinkGeo.MapSuite.PortableCore.Layer|Layer]] | | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#OnRequestingDrawing(RequestingDrawingLayerEventArgs)|OnRequestingDrawing]] | [[ThinkGeo.MapSuite.PortableCore.RequestingDrawingLayerEventArgs|RequestingDrawingLayerEventArgs]] | [[ThinkGeo.MapSuite.PortableCore.Layer|Layer]] | | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#OpenCore()|OpenCore]] | | [[ThinkGeo.MapSuite.PortableCore.Layer|Layer]](overriden) | | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#SetupTools()|SetupTools]] | | [[ThinkGeo.MapSuite.PortableCore.FeatureLayer|FeatureLayer]] | This method sets up the EditTools and QueryTools objects. | | + | |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#SetupToolsCore()|SetupToolsCore]] | | [[ThinkGeo.MapSuite.PortableCore.FeatureLayer|FeatureLayer]] | This method sets up the EditTools and QueryTools objects. | | + | |
- | ==== Public Properties ==== | + | == Return Value == |
- | ^ Name ^ Return ^ DeclaringType ^ Summary ^ | + | * Type:[[ThinkGeo.MapSuite.Core.ShapeFileType|ShapeFileType]] |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#Attribution|Attribution]] | String | [[ThinkGeo.MapSuite.PortableCore.Layer|Layer]] | | | + | * Description:The ShapeFileType for the ShapeFile FeatureSource. |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#DrawingExceptionMode|DrawingExceptionMode]] | [[ThinkGeo.MapSuite.PortableCore.DrawingExceptionMode|DrawingExceptionMode]] | [[ThinkGeo.MapSuite.PortableCore.Layer|Layer]] | Gets or sets the DrawExcpetionMode when exception happens. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#DrawingMarginPercentage|DrawingMarginPercentage]] | Double | [[ThinkGeo.MapSuite.PortableCore.FeatureLayer|FeatureLayer]] | This property gets and sets the extra drawing margin as a percentage around the map that draw to ensure that labeling is correct. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#DrawingQuality|DrawingQuality]] | [[ThinkGeo.MapSuite.PortableCore.DrawingQuality|DrawingQuality]] | [[ThinkGeo.MapSuite.PortableCore.FeatureLayer|FeatureLayer]] | This property gets and sets the general drawing quality for the FeatureLayer's canvas. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#DrawingTime|DrawingTime]] | TimeSpan | [[ThinkGeo.MapSuite.PortableCore.Layer|Layer]] | This property gets the last drawing time for the layer. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#EditTools|EditTools]] | [[ThinkGeo.MapSuite.PortableCore.EditTools|EditTools]] | [[ThinkGeo.MapSuite.PortableCore.FeatureLayer|FeatureLayer]] | This property gets the EditTools that allow you to easily edit InternalFeatures in the Feature Layer. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#Encoding|Encoding]] | Encoding | | This property gets and sets the encoding information for the DBF. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#FeatureIdsToExclude|FeatureIdsToExclude]] | Collection<String> | [[ThinkGeo.MapSuite.PortableCore.FeatureLayer|FeatureLayer]] | A collection of strings representing record id of features not to get in the Layer. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#FeatureSource|FeatureSource]] | [[ThinkGeo.MapSuite.PortableCore.FeatureSource|FeatureSource]] | [[ThinkGeo.MapSuite.PortableCore.FeatureLayer|FeatureLayer]] | This property gets the FeatureSource for the FeatureLayer. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#HasBoundingBox|HasBoundingBox]] | Boolean | [[ThinkGeo.MapSuite.PortableCore.Layer|Layer]](overriden) | This property checks to see if a Layer has a BoundingBox or not. If it has no BoundingBox, it will throw an exception when you call the GetBoundingBox() and GetFullExtent() APIs. In ShapeFileFeatureLayer, we override this API and mark it as true. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#IndexPathFileName|IndexPathFileName]] | String | | This property returns the path and filename of the index file you want to represent. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#IsGrayscale|IsGrayscale]] | Boolean | [[ThinkGeo.MapSuite.PortableCore.Layer|Layer]] | This property gets and sets if the image should be converted to grayscale. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#IsNegative|IsNegative]] | Boolean | [[ThinkGeo.MapSuite.PortableCore.Layer|Layer]] | This property gets and sets whether the image should be converted to negative (inverse colors). | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#IsOpen|IsOpen]] | Boolean | [[ThinkGeo.MapSuite.PortableCore.Layer|Layer]] | This property returns true if the Layer is open and false if it is not. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#IsVisible|IsVisible]] | Boolean | [[ThinkGeo.MapSuite.PortableCore.Layer|Layer]] | This property gets and set the visible state of the layer. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#MaxRecordsToDraw|MaxRecordsToDraw]] | Int32 | [[ThinkGeo.MapSuite.PortableCore.FeatureLayer|FeatureLayer]] | | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#Name|Name]] | String | [[ThinkGeo.MapSuite.PortableCore.Layer|Layer]] | This property gets and sets the name for the layer. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#ProgressiveDrawingRecordsCount|ProgressiveDrawingRecordsCount]] | Int32 | | | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#QueryTools|QueryTools]] | [[ThinkGeo.MapSuite.PortableCore.QueryTools|QueryTools]] | [[ThinkGeo.MapSuite.PortableCore.FeatureLayer|FeatureLayer]] | This property gets the QueryTools that allow you to easily query Features from the Feature Layer. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#ReadWriteMode|ReadWriteMode]] | [[ThinkGeo.MapSuite.PortableCore.ShapeFileReadWriteMode|ShapeFileReadWriteMode]] | | | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#RequestDrawingInterval|RequestDrawingInterval]] | TimeSpan | [[ThinkGeo.MapSuite.PortableCore.Layer|Layer]] | | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#RequireIndex|RequireIndex]] | Boolean | | This property gets and sets whether an index is required when reading data. The default value is true. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#ShapePathFileName|ShapePathFileName]] | String | | This property returns the path and filename of the Shape File you want to represent. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#SimplificationAreaInPixel|SimplificationAreaInPixel]] | Int32 | | | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#Transparency|Transparency]] | Single | [[ThinkGeo.MapSuite.PortableCore.Layer|Layer]] | This property gets and sets the amount of transparency to apply to the image. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#UsingSpatialIndex|UsingSpatialIndex]] | Boolean | | This property gets whether the Shape File FeatureSource has an index or not. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#WrappingExtent|WrappingExtent]] | [[ThinkGeo.MapSuite.PortableCore.RectangleShape|RectangleShape]] | [[ThinkGeo.MapSuite.PortableCore.FeatureLayer|FeatureLayer]] | | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#WrappingMode|WrappingMode]] | [[ThinkGeo.MapSuite.PortableCore.WrappingMode|WrappingMode]] | [[ThinkGeo.MapSuite.PortableCore.FeatureLayer|FeatureLayer]] | Thie property gets or sets whether allow wrap date line. | | + | |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#ZoomLevelSet|ZoomLevelSet]] | [[ThinkGeo.MapSuite.PortableCore.ZoomLevelSet|ZoomLevelSet]] | [[ThinkGeo.MapSuite.PortableCore.FeatureLayer|FeatureLayer]] | This property gets and sets the ZoomLevelSet, which contains the specific zoom levels for the FeatureLayer. | | + | |
- | ==== Protected Properties ==== | + | == Parameters == |
- | ^ Name ^ Return ^ DeclaringType ^ Summary ^ | + | <div newline></div> |
- | | {{wiki:ProtectedProperty.gif|Protected Property}}[[#IsOpenCore|IsOpenCore]] | Boolean | [[ThinkGeo.MapSuite.PortableCore.Layer|Layer]](overriden) | | | + | ** {{wiki:PublicMethod.gif|}} Validate() ** |
- | ==== Public Events ==== | + | * //This method checks all features in a shapefile is supported by Mapsuite or not.// |
- | ^ Name ^ Event Arguments ^ DeclaringType ^ Summary ^ | + | == Remarks == |
- | | {{wiki:PublicEvent.gif|Public Event}}[[#DrawingAttribution|DrawingAttribution]] | [[ThinkGeo.MapSuite.PortableCore.DrawingAttributionLayerEventArgs|DrawingAttributionLayerEventArgs]] | [[ThinkGeo.MapSuite.PortableCore.Layer|Layer]] | | | + | * //N/A// |
- | | {{wiki:PublicEvent.gif|Public Event}}[[#DrawingException|DrawingException]] | [[ThinkGeo.MapSuite.PortableCore.DrawingExceptionLayerEventArgs|DrawingExceptionLayerEventArgs]] | [[ThinkGeo.MapSuite.PortableCore.Layer|Layer]] | | | + | |
- | | {{wiki:PublicEvent.gif|Public Event}}[[#DrawingFeatures|DrawingFeatures]] | [[ThinkGeo.MapSuite.PortableCore.DrawingFeaturesEventArgs|DrawingFeaturesEventArgs]] | [[ThinkGeo.MapSuite.PortableCore.FeatureLayer|FeatureLayer]] | This event is raised when features are about to be drawn in the layer. | | + | |
- | | {{wiki:PublicEvent.gif|Public Event}}[[#DrawingProgressChanged|DrawingProgressChanged]] | [[ThinkGeo.MapSuite.PortableCore.DrawingProgressChangedEventArgs|DrawingProgressChangedEventArgs]] | [[ThinkGeo.MapSuite.PortableCore.Layer|Layer]] | | | + | |
- | | {{wiki:PublicEvent.gif|Public Event}}[[#DrawingWrappingFeatures|DrawingWrappingFeatures]] | [[ThinkGeo.MapSuite.PortableCore.DrawingWrappingFeaturesFeatureLayerEventArgs|DrawingWrappingFeaturesFeatureLayerEventArgs]] | [[ThinkGeo.MapSuite.PortableCore.FeatureLayer|FeatureLayer]] | | | + | |
- | | {{wiki:PublicEvent.gif|Public Event}}[[#DrawnAttribution|DrawnAttribution]] | [[ThinkGeo.MapSuite.PortableCore.DrawnAttributionLayerEventArgs|DrawnAttributionLayerEventArgs]] | [[ThinkGeo.MapSuite.PortableCore.Layer|Layer]] | | | + | |
- | | {{wiki:PublicEvent.gif|Public Event}}[[#DrawnException|DrawnException]] | [[ThinkGeo.MapSuite.PortableCore.DrawnExceptionLayerEventArgs|DrawnExceptionLayerEventArgs]] | [[ThinkGeo.MapSuite.PortableCore.Layer|Layer]] | | | + | |
- | | {{wiki:PublicEvent.gif|Public Event}}[[#RequestedDrawing|RequestedDrawing]] | [[ThinkGeo.MapSuite.PortableCore.RequestedDrawingLayerEventArgs|RequestedDrawingLayerEventArgs]] | [[ThinkGeo.MapSuite.PortableCore.Layer|Layer]] | | | + | |
- | | {{wiki:PublicEvent.gif|Public Event}}[[#RequestingDrawing|RequestingDrawing]] | [[ThinkGeo.MapSuite.PortableCore.RequestingDrawingLayerEventArgs|RequestingDrawingLayerEventArgs]] | [[ThinkGeo.MapSuite.PortableCore.Layer|Layer]] | | | + | |
- | | {{wiki:PublicEvent.gif|Public Event}}[[#StreamLoading|StreamLoading]] | [[ThinkGeo.MapSuite.PortableCore.StreamLoadingEventArgs|StreamLoadingEventArgs]] | | This event allows you to pass in your own stream to represent the files. | | + | |
- | ===== Public Constructors ===== | + | == Return Value == |
- | ==== ShapeFileFeatureLayer() ==== | + | * Type:Dictionary<String,String> |
- | This is a constructor for the class. | + | * 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. |
- | === Overloads === | + | |
- | This is the default constructor. If you use this constructor, then you should set the required methods manually. | + | |
- | === Remarks === | + | |
- | This is the default constructor. If you use this constructor, then you should set the required methods manually. | + | |
- | === Parameters === | + | |
- | ^ Name ^ Type ^ Description ^ | + | |
- | [[#Public Constructors|Go Back]] | + | == Parameters == |
- | ==== ShapeFileFeatureLayer(String) ==== | + | <div newline></div> |
- | This is a constructor for the class. | + | ** {{wiki:PublicMethod.gif|}} GetThreadSafetyLevel() ** |
- | === Overloads === | + | |
- | This constructor allows you to provide a path and filename to a shape file. | + | |
- | === Parameters === | + | |
- | ^ Name ^ Type ^ Description ^ | + | |
- | | shapePathFilename | String<!-- System.String --> | This parameter is the Shape File path and filename. | | + | |
- | [[#Public Constructors|Go Back]] | + | * //N/A// |
- | ==== ShapeFileFeatureLayer(String, ShapeFileReadWriteMode) ==== | + | == Remarks == |
- | This is a constructor for the class. | + | * //N/A// |
- | === Overloads === | + | |
- | This constructor allows you to provide a path and filename to a Shape File and the read/write mode for the files. | + | |
- | === Parameters === | + | |
- | ^ Name ^ Type ^ Description ^ | + | |
- | | shapePathFilename | String<!-- System.String --> | This parameter is the Shape File path and filename. | | + | |
- | | readWriteMode | [[ThinkGeo.MapSuite.PortableCore.ShapeFileReadWriteMode|ShapeFileReadWriteMode]]<!-- ThinkGeo.MapSuite.PortableCore.ShapeFileReadWriteMode --> | This parameter specifies whether the file will be opened in read-only or read/write mode. | | + | |
- | [[#Public Constructors|Go Back]] | + | == Return Value == |
- | ==== ShapeFileFeatureLayer(String, String) ==== | + | * Type:[[ThinkGeo.MapSuite.Core.ThreadSafetyLevel|ThreadSafetyLevel]] |
- | This is a constructor for the class. | + | * Description:N/A |
- | === Overloads === | + | |
- | This constructor allows you to provide a path and filename to a Shape File and its spatial index file. | + | |
- | === Parameters === | + | |
- | ^ Name ^ Type ^ Description ^ | + | |
- | | shapePathFilename | String<!-- System.String --> | This parameter is the Shape File path and filename. | | + | |
- | | indexPathFilename | String<!-- System.String --> | This parameter is the index file path and filename. | | + | |
- | [[#Public Constructors|Go Back]] | + | == Parameters == |
- | ==== ShapeFileFeatureLayer(String, String, ShapeFileReadWriteMode) ==== | + | <div newline></div> |
- | This is a constructor for the class. | + | ** {{wiki:PublicMethod.gif|}} CloneDeep() ** |
- | === Overloads === | + | |
- | This constructor allows you to provide a path and filename to a Shape File, its index file, and to specify the read/write mode for the files. | + | |
- | === Parameters === | + | |
- | ^ Name ^ Type ^ Description ^ | + | |
- | | shapePathFilename | String<!-- System.String --> | This parameter is the Shape File path and filename. | | + | |
- | | indexPathFilename | String<!-- System.String --> | This parameter is the index file path and filename. | | + | |
- | | readWriteMode | [[ThinkGeo.MapSuite.PortableCore.ShapeFileReadWriteMode|ShapeFileReadWriteMode]]<!-- ThinkGeo.MapSuite.PortableCore.ShapeFileReadWriteMode --> | This parameter specifies whether the file will be opened in read-only or read/write mode. | | + | |
- | [[#Public Constructors|Go Back]] | + | * //N/A// |
- | ==== ShapeFileFeatureLayer(String, String, ShapeFileReadWriteMode, Encoding) ==== | + | == Remarks == |
- | This is a constructor for the class. | + | * //N/A// |
- | === Overloads === | + | |
- | This constructor allows you to provide a path and filename to a Shape File, the index file, and to specify the read/write mode and the encoding for the files. | + | |
- | === Parameters === | + | |
- | ^ Name ^ Type ^ Description ^ | + | |
- | | shapePathFilename | String<!-- System.String --> | This parameter is the Shape File path and filename. | | + | |
- | | indexPathFilename | String<!-- System.String --> | This parameter is the index file path and filename. | | + | |
- | | readWriteMode | [[ThinkGeo.MapSuite.PortableCore.ShapeFileReadWriteMode|ShapeFileReadWriteMode]]<!-- ThinkGeo.MapSuite.PortableCore.ShapeFileReadWriteMode --> | This parameter specifies whether the file will be opened in read-only or read/write mode. | | + | |
- | | encoding | Encoding<!-- System.Text.Encoding --> | This parameter specifies the encoding of the data. | | + | |
- | [[#Public Constructors|Go Back]] | + | == Return Value == |
- | ===== Protected Constructors ===== | + | * Type:[[ThinkGeo.MapSuite.Core.Layer|Layer]] |
- | ===== Public Methods ===== | + | * Description:N/A |
- | ==== BuildIndexFile(String, String, Projection, String, String, BuildIndexMode, Encoding) ==== | + | |
- | <!-- static --> | + | |
- | This method builds a spatial index only for those features that satisfy a regular expression, based on a passed-in projection. | + | |
- | === Overloads === | + | |
- | This overload allows you to pass in a Shape File and only build an index for those features that satisfy the regularExpression parameter. | + | |
- | === Remarks === | + | |
- | This overload allows you to pass in a Shape File and specify the index filename to use. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | <div newline></div> |
- | | shapePathFilename | String<!-- System.String --> | This parameter specifies the Shape File for which to build the index. | | + | ** {{wiki:PublicMethod.gif|}} Open() ** |
- | | indexPathFilename | String<!-- System.String --> | This parameter determines the target index path filename. | | + | |
- | | projection | [[ThinkGeo.MapSuite.PortableCore.Projection|Projection]]<!-- ThinkGeo.MapSuite.PortableCore.Projection --> | This parameter determines the projection that will be used to build the index against those features that satisfy the regular expression. | | + | |
- | | columnName | String<!-- System.String --> | This parameter determines the column name whose values will be tested against the regular expression. | | + | |
- | | regularExpression | String<!-- System.String --> | This parameter represents the regular expression to test against each feature for inclusion in the index. | | + | |
- | | buildIndexMode | [[ThinkGeo.MapSuite.PortableCore.BuildIndexMode|BuildIndexMode]]<!-- ThinkGeo.MapSuite.PortableCore.BuildIndexMode --> | This parameter determines whether an index file will be rebuilt if it already exists. | | + | |
- | | encoding | Encoding<!-- System.Text.Encoding --> | This parameter specifies the encoding information used in the source DBF file. | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.ShapeFileFeatureLayer --> | + | * //N/A// |
- | [[#Public Methods|Go Back]] | + | == Remarks == |
- | ==== BuildIndexFile(String) ==== | + | * //N/A// |
- | <!-- static --> | + | |
- | This method builds a spatial index for the layer. | + | |
- | === Overloads === | + | |
- | This overload allows you to pass in the Shape filename. | + | |
- | === Remarks === | + | |
- | This overload allows you to pass in the Shape File. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Void |
- | | pathFilename | String<!-- System.String --> | The path and filename to the Shape File. | | + | * Description:N/A |
- | <!-- ThinkGeo.MapSuite.PortableCore.ShapeFileFeatureLayer --> | + | == Parameters == |
- | [[#Public Methods|Go Back]] | + | <div newline></div> |
- | ==== BuildIndexFile(String, String, BuildIndexMode) ==== | + | ** {{wiki:PublicMethod.gif|}} Close() ** |
- | <!-- static --> | + | |
- | This method build a spatial index for the shape file which increases accessspeed. | + | |
- | === Overloads === | + | |
- | 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. | + | |
- | === 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 === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //N/A// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
- | | shapePathFilename | String<!-- System.String --> | This parameter is the shape file name and path that you want to build an index for. | | + | * //N/A// |
- | | indexPathFilename | String<!-- System.String --> | This parameter specifies the index file name. | | + | |
- | | buildIndexMode | [[ThinkGeo.MapSuite.PortableCore.BuildIndexMode|BuildIndexMode]]<!-- ThinkGeo.MapSuite.PortableCore.BuildIndexMode --> | This parameter determines what will happen if there is an existing index file. | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.ShapeFileFeatureLayer --> | + | == Return Value == |
- | [[#Public Methods|Go Back]] | + | * Type:Void |
- | ==== BuildIndexFile(String, BuildIndexMode) ==== | + | * Description:N/A |
- | <!-- static --> | + | |
- | This method builds a spatial index for the layer. | + | |
- | === Overloads === | + | |
- | This overload allows you to pass in the Shape File and determines if we rebuild an index file that already exists. | + | |
- | === Remarks === | + | |
- | This overload allows you to pass in the Shape File and determines if we rebuild an index file that already exists. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | <div newline></div> |
- | | pathFilename | String<!-- System.String --> | This parameter is the matching pattern that defines which Shape Files to include. | | + | ** {{wiki:PublicMethod.gif|}} GetBoundingBox() ** |
- | | rebuildExistingIndexMode | [[ThinkGeo.MapSuite.PortableCore.BuildIndexMode|BuildIndexMode]]<!-- ThinkGeo.MapSuite.PortableCore.BuildIndexMode --> | This parameter determines whether an index file will be rebuilt if it already exists. | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.ShapeFileFeatureLayer --> | + | * //N/A// |
- | [[#Public Methods|Go Back]] | + | == Remarks == |
- | ==== BuildIndexFile(IEnumerable<Feature>, String) ==== | + | * //N/A// |
- | <!-- static --> | + | |
- | This method builds a spatial index for the specified group of features. | + | |
- | === Overloads === | + | |
- | This overload allows you to pass in a group of features and specify the index filename to use. | + | |
- | === Remarks === | + | |
- | This overload allows you to pass in a group of features and specify the index filename to use. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] |
- | | features | IEnumerable<[[ThinkGeo.MapSuite.PortableCore.Feature|Feature]]><!-- System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.PortableCore.Feature} --> | This parameter specifies the features for which to build the index. | | + | * Description:N/A |
- | | indexPathFilename | String<!-- System.String --> | This parameter specifies the target index path and filename. | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.ShapeFileFeatureLayer --> | + | == Parameters == |
- | [[#Public Methods|Go Back]] | + | <div newline></div> |
- | ==== BuildIndexFile(IEnumerable<Feature>, String, Projection) ==== | + | ** {{wiki:PublicMethod.gif|}} Draw(GeoCanvas,Collection<SimpleCandidate>) ** |
- | <!-- static --> | + | |
- | This method builds a spatial index for the specified group of features and target projection. | + | |
- | === Overloads === | + | |
- | This overload allows you to pass in a group of features and specify a target projection and the index filename to use. | + | |
- | === 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 === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //N/A// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
- | | features | IEnumerable<[[ThinkGeo.MapSuite.PortableCore.Feature|Feature]]><!-- System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.PortableCore.Feature} --> | This parameter specifies the features for which to build the index. | | + | * //N/A// |
- | | indexPathFilename | String<!-- System.String --> | This parameter specifies the target index path and filename. | | + | |
- | | projection | [[ThinkGeo.MapSuite.PortableCore.Projection|Projection]]<!-- ThinkGeo.MapSuite.PortableCore.Projection --> | This parameter specifies the projection to build index against those features. | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.ShapeFileFeatureLayer --> | + | == Return Value == |
- | [[#Public Methods|Go Back]] | + | * Type:Void |
- | ==== BuildIndexFile(IEnumerable<Feature>, String, BuildIndexMode) ==== | + | * Description:N/A |
- | <!-- static --> | + | |
- | This method builds a spatial index for the specified group of features. | + | |
- | === Overloads === | + | |
- | This overload allows you to pass in a group of features and specify the index filename to use. You can also pass in a Shape File and specify whether to rebuild an index file if it already exists. | + | |
- | === Remarks === | + | |
- | This overload allows you to pass in a group of features and specify the index filename to use. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | * //canvas// |
- | | features | IEnumerable<[[ThinkGeo.MapSuite.PortableCore.Feature|Feature]]><!-- System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.PortableCore.Feature} --> | This parameter specifies the features for which to build the index. | | + | * Type:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] |
- | | indexPathFilename | String<!-- System.String --> | This parameter determines the target index path filename. | | + | * Description:N/A |
- | | buildIndexMode | [[ThinkGeo.MapSuite.PortableCore.BuildIndexMode|BuildIndexMode]]<!-- ThinkGeo.MapSuite.PortableCore.BuildIndexMode --> | This parameter determines whether an index file will be rebuilt if it already exists. | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.ShapeFileFeatureLayer --> | + | * //labelsInAllLayers// |
- | [[#Public Methods|Go Back]] | + | * Type:Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]> |
- | ==== BuildIndexFile(IEnumerable<Feature>, String, Projection, BuildIndexMode) ==== | + | * Description:N/A |
- | <!-- static --> | + | |
- | This method builds a spatial index for the specified group of features. | + | |
- | === Overloads === | + | |
- | This overload allows you to pass in a group of features and specify a target projection and the index filename to use. You can also pass in a Shape File and specify whether to rebuild an index file if it already exists. | + | |
- | === 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 === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | <div newline></div> |
- | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:PublicMethod.gif|}} RequestDrawing() ** |
- | | features | IEnumerable<[[ThinkGeo.MapSuite.PortableCore.Feature|Feature]]><!-- System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.PortableCore.Feature} --> | This parameter specifies the features for which to build the index. | | + | |
- | | indexPathFilename | String<!-- System.String --> | This parameter determines the target index path filename. | | + | |
- | | projection | [[ThinkGeo.MapSuite.PortableCore.Projection|Projection]]<!-- ThinkGeo.MapSuite.PortableCore.Projection --> | This parameter determines the Projection to build index against those features. | | + | |
- | | buildIndexMode | [[ThinkGeo.MapSuite.PortableCore.BuildIndexMode|BuildIndexMode]]<!-- ThinkGeo.MapSuite.PortableCore.BuildIndexMode --> | This parameter determines whether an index file will be rebuilt if it already exists. | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.ShapeFileFeatureLayer --> | + | * //N/A// |
- | [[#Public Methods|Go Back]] | + | == Remarks == |
- | ==== BuildIndexFile(String, String, String, String, BuildIndexMode) ==== | + | * //N/A// |
- | <!-- static --> | + | |
- | This method builds a spatial index only for those features that satisfy a regular expression. | + | |
- | === Overloads === | + | |
- | This overload allows you to pass in a Shape File and only build an index for those features that satisfy the regularExpression parameter. | + | |
- | === Remarks === | + | |
- | This overload allows you to pass in a Shape File and specify the index filename to use. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Void |
- | | shapePathFilename | String<!-- System.String --> | This parameter specifies the Shape File for which to build the index. | | + | * Description:N/A |
- | | indexPathFilename | String<!-- System.String --> | This parameter determines the target index path filename. | | + | |
- | | columnName | String<!-- System.String --> | This parameter determines the column name whose values will be tested against the regular expression. | | + | |
- | | regularExpression | String<!-- System.String --> | This parameter represents the regular expression to test against each feature for inclusion in the index. | | + | |
- | | buildIndexMode | [[ThinkGeo.MapSuite.PortableCore.BuildIndexMode|BuildIndexMode]]<!-- ThinkGeo.MapSuite.PortableCore.BuildIndexMode --> | This parameter determines whether an index file will be rebuilt if it already exists. | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.ShapeFileFeatureLayer --> | + | == Parameters == |
- | [[#Public Methods|Go Back]] | + | <div newline></div> |
- | ==== BuildIndexFile(String, String, Projection, String, String, BuildIndexMode) ==== | + | ** {{wiki:PublicMethod.gif|}} RequestDrawing(RectangleShape) ** |
- | <!-- static --> | + | |
- | This method builds a spatial index only for those features that satisfy a regular expression, based on a passed-in projection. | + | |
- | === Overloads === | + | |
- | This overload allows you to pass in a Shape File and only build an index for those features that satisfy the regularExpression parameter. | + | |
- | === Remarks === | + | |
- | This overload allows you to pass in a Shape File and specify the index filename to use. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //N/A// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
- | | shapePathFilename | String<!-- System.String --> | This parameter specifies the Shape File for which to build the index. | | + | * //N/A// |
- | | indexPathFilename | String<!-- System.String --> | This parameter determines the target index path filename. | | + | |
- | | projection | [[ThinkGeo.MapSuite.PortableCore.Projection|Projection]]<!-- ThinkGeo.MapSuite.PortableCore.Projection --> | This parameter determines the projection that will be used to build the index against those features that satisfy the regular expression. | | + | |
- | | columnName | String<!-- System.String --> | This parameter determines the column name whose values will be tested against the regular expression. | | + | |
- | | regularExpression | String<!-- System.String --> | This parameter represents the regular expression to test against each feature for inclusion in the index. | | + | |
- | | buildIndexMode | [[ThinkGeo.MapSuite.PortableCore.BuildIndexMode|BuildIndexMode]]<!-- ThinkGeo.MapSuite.PortableCore.BuildIndexMode --> | This parameter determines whether an index file will be rebuilt if it already exists. | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.ShapeFileFeatureLayer --> | + | == Return Value == |
- | [[#Public Methods|Go Back]] | + | * Type:Void |
- | ==== BuildRecordIdColumn(String, String, BuildRecordIdMode, Int32) ==== | + | * Description:N/A |
- | <!-- static --> | + | |
- | Static API used to build RecordId from the specified starting Id number. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | * //extentToRefresh// |
- | | shapeFilename | String<!-- System.String --> | The name of the target ShapeFile on which to base the newly built RecordId. | | + | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] |
- | | fieldname | String<!-- System.String --> | The field name for the RecordId. | | + | * Description:N/A |
- | | rebuildNeeded | [[ThinkGeo.MapSuite.PortableCore.BuildRecordIdMode|BuildRecordIdMode]]<!-- ThinkGeo.MapSuite.PortableCore.BuildRecordIdMode --> | The RecordId build mode. | | + | |
- | | startNumber | Int32<!-- System.Int32 --> | The starting Id number of the RecordId. | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.ShapeFileFeatureLayer --> | + | <div newline></div> |
- | [[#Public Methods|Go Back]] | + | ** {{wiki:PublicMethod.gif|}} RequestDrawing(IEnumerable<RectangleShape>) ** |
- | ==== BuildRecordIdColumn(String, String, BuildRecordIdMode, Int32, Encoding) ==== | + | |
- | <!-- static --> | + | |
- | Static API used to build RecordId from the specified starting Id number. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //N/A// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
- | | shapeFilename | String<!-- System.String --> | The name of the target ShapeFile on which to base the newly built RecordId. | | + | * //N/A// |
- | | fieldname | String<!-- System.String --> | The field name for the RecordId. | | + | |
- | | rebuildNeeded | [[ThinkGeo.MapSuite.PortableCore.BuildRecordIdMode|BuildRecordIdMode]]<!-- ThinkGeo.MapSuite.PortableCore.BuildRecordIdMode --> | The RecordId build mode. | | + | |
- | | startNumber | Int32<!-- System.Int32 --> | The starting Id number of the RecordId. | | + | |
- | | encoding | Encoding<!-- System.Text.Encoding --> | This parameter specifies the encoding information in the DBF. | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.ShapeFileFeatureLayer --> | + | == Return Value == |
- | [[#Public Methods|Go Back]] | + | * Type:Void |
- | ==== BuildRecordIdColumn(String, String, BuildRecordIdMode) ==== | + | * Description:N/A |
- | <!-- static --> | + | |
- | Static API used to build RecordId. The Id will start from 0. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | * //extentsToRefresh// |
- | | shapeFilename | String<!-- System.String --> | The name of the target ShapeFile on which to base the newly built RecordId. | | + | * Type:IEnumerable<[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]> |
- | | fieldname | String<!-- System.String --> | The field name for the RecordId. | | + | * Description:N/A |
- | | rebuildNeeded | [[ThinkGeo.MapSuite.PortableCore.BuildRecordIdMode|BuildRecordIdMode]]<!-- ThinkGeo.MapSuite.PortableCore.BuildRecordIdMode --> | The RecordId build mode. | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.ShapeFileFeatureLayer --> | + | <div newline></div> |
- | [[#Public Methods|Go Back]] | + | ** {{wiki:PublicMethod.gif|}} RequestDrawing(TimeSpan) ** |
- | ==== CloneDeep() ==== | + | |
- | Create a copy of Layer using the deep clone process. | + | |
- | === Remarks === | + | |
- | The difference between deep clone and shallow clone is as follows: In shallow cloning, only the object is copied; the objects within it are not. By contrast, deep cloning copies the cloned object as well as all the objects within. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | [[ThinkGeo.MapSuite.PortableCore.Layer|Layer]]<!-- ThinkGeo.MapSuite.PortableCore.Layer --> | A cloned Layer. | | + | |
- | === Parameters === | + | * //N/A// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
+ | * //N/A// | ||
- | <!-- ThinkGeo.MapSuite.PortableCore.Layer --> | + | == Return Value == |
- | [[#Public Methods|Go Back]] | + | * Type:Void |
- | ==== CloneShapeFileStructure(String, String) ==== | + | * Description:N/A |
- | <!-- static --> | + | |
- | Clone the structure from the source ShapeFile to the target ShapeFile. After cloning the structure, the target ShapeFile will have the same type and the same DBF columns as the source ShapeFile, but without any records in it. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | * //bufferTime// |
- | | sourceShapePathFilename | String<!-- System.String --> | The source Shape File to be cloned. | | + | * Type:TimeSpan |
- | | targetShapePathFilename | String<!-- System.String --> | The target Shape File, which will have the same structure as the source Shape File after cloning operation is complete. | | + | * Description:N/A |
- | <!-- ThinkGeo.MapSuite.PortableCore.ShapeFileFeatureLayer --> | + | <div newline></div> |
- | [[#Public Methods|Go Back]] | + | ** {{wiki:PublicMethod.gif|}} RequestDrawing(RectangleShape,TimeSpan) ** |
- | ==== CloneShapeFileStructure(String, String, OverwriteMode) ==== | + | |
- | <!-- static --> | + | |
- | Clone the structure from the source ShapeFile to the target ShapeFile. After cloning the structure, the target ShapeFile will have the same type and the same DBF columns as the source ShapeFile, but without any records in it. | + | |
- | === Remarks === | + | |
- | An exception will be thown when the target ShapeFile does not exist and the overwrite mode is set to DoNotOverwrite. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //N/A// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
- | | sourceShapePathFilename | String<!-- System.String --> | The source Shape File to be cloned. | | + | * //N/A// |
- | | targetShapePathFilename | String<!-- System.String --> | The target Shape File, which will have the same structure as the source Shape File after cloning operation is complete. | | + | |
- | | overwriteMode | [[ThinkGeo.MapSuite.PortableCore.OverwriteMode|OverwriteMode]]<!-- ThinkGeo.MapSuite.PortableCore.OverwriteMode --> | This parameter specifies the overwrite mode when the target ShapeFile already exists. | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.ShapeFileFeatureLayer --> | + | == Return Value == |
- | [[#Public Methods|Go Back]] | + | * Type:Void |
- | ==== CloneShapeFileStructure(String, String, OverwriteMode, Encoding) ==== | + | * Description:N/A |
- | <!-- static --> | + | |
- | Clone the structure from the source ShapeFile to the target ShapeFile. After cloning the structure, the target ShapeFile will have the same type and the same DBF columns as the source ShapeFile, but without any records in it. | + | |
- | === Remarks === | + | |
- | An exception will be thown when the target ShapeFile does not exist and the overwrite mode is set to DoNotOverwrite. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | * //extentToRefresh// |
- | | sourceShapePathFilename | String<!-- System.String --> | The source Shape File to be cloned. | | + | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] |
- | | targetShapePathFilename | String<!-- System.String --> | The target Shape File, which will have the same structure as the source Shape File after cloning operation is complete. | | + | * Description:N/A |
- | | overwriteMode | [[ThinkGeo.MapSuite.PortableCore.OverwriteMode|OverwriteMode]]<!-- ThinkGeo.MapSuite.PortableCore.OverwriteMode --> | This parameter specifies the overwrite mode when the target ShapeFile already exists. | | + | |
- | | encoding | Encoding<!-- System.Text.Encoding --> | This parameter specifies the encoding information in the source Shape File. | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.ShapeFileFeatureLayer --> | + | * //bufferTime// |
- | [[#Public Methods|Go Back]] | + | * Type:TimeSpan |
- | ==== Close() ==== | + | * Description:N/A |
- | This method closes the Layer and releases any resources it was using. | + | |
- | === Remarks === | + | |
- | This method is the concrete wrapper for the abstract method CloseCore. The close method plays an important role in the life cycle of the Layer. It may be called after drawing to release any memory and other resources that were allocated since the Open method was called. | + | |
- | If you override this method, it is recommended that you take the following things into account: This method may be called multiple times, so we suggest you write the method so that that a call to a closed Layer is ignored and does not generate an error. We also suggest that in the Close you free all resources that have been opened. Remember that the object will not be destroyed, but will be re-opened possibly in the near future. | + | <div newline></div> |
+ | ** {{wiki:PublicMethod.gif|}} RequestDrawing(IEnumerable<RectangleShape>,TimeSpan) ** | ||
- | As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework. | + | * //N/A// |
- | === Return Value === | + | == Remarks == |
- | ^ Return Type ^ Description ^ | + | * //N/A// |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Void |
+ | * Description:N/A | ||
- | <!-- ThinkGeo.MapSuite.PortableCore.Layer --> | + | == Parameters == |
- | [[#Public Methods|Go Back]] | + | * //extentsToRefresh// |
- | ==== CreateShapeFile(ShapeFileType, String, IEnumerable<DbfColumn>) ==== | + | * Type:IEnumerable<[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]> |
- | <!-- static --> | + | * Description:N/A |
- | Static API to create a new Shape File. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //bufferTime// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:TimeSpan |
- | | shapeType | [[ThinkGeo.MapSuite.PortableCore.ShapeFileType|ShapeFileType]]<!-- ThinkGeo.MapSuite.PortableCore.ShapeFileType --> | This parameter specifies the the Shape File type for the target Shape File. | | + | * Description:N/A |
- | | pathFilename | String<!-- System.String --> | This parameter specifies the Shape filename for the target Shape File. | | + | |
- | | databaseColumns | IEnumerable<[[ThinkGeo.MapSuite.PortableCore.DbfColumn|DbfColumn]]><!-- System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.PortableCore.DbfColumn} --> | This parameter specifies the DBF column information for the target Shape File. | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.ShapeFileFeatureLayer --> | + | <div newline></div> |
- | [[#Public Methods|Go Back]] | + | ** {{wiki:PublicMethod.gif|}} ToString() ** |
- | ==== CreateShapeFile(ShapeFileType, String, IEnumerable<DbfColumn>, Encoding, OverwriteMode) ==== | + | |
- | <!-- static --> | + | |
- | Static API to create a new Shape File. | + | |
- | === Remarks === | + | |
- | An exception will be thown when the target Shape File does not exist while the overwrite mode is set to DoNotOverwrite. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //N/A// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
- | | shapeType | [[ThinkGeo.MapSuite.PortableCore.ShapeFileType|ShapeFileType]]<!-- ThinkGeo.MapSuite.PortableCore.ShapeFileType --> | This parameter specifies the the Shape File type for the target Shape File. | | + | * //N/A// |
- | | pathFilename | String<!-- System.String --> | This parameter specifies the Shape filename for the target Shape File. | | + | |
- | | databaseColumns | IEnumerable<[[ThinkGeo.MapSuite.PortableCore.DbfColumn|DbfColumn]]><!-- System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.PortableCore.DbfColumn} --> | This parameter specifies the DBF column information for the target Shape File. | | + | |
- | | encoding | Encoding<!-- System.Text.Encoding --> | This parameter specifies the DBF encoding infromation for the target Shape File. | | + | |
- | | overwriteMode | [[ThinkGeo.MapSuite.PortableCore.OverwriteMode|OverwriteMode]]<!-- ThinkGeo.MapSuite.PortableCore.OverwriteMode --> | This parameter specifies the override mode when the target Shape File exists. | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.ShapeFileFeatureLayer --> | + | == Return Value == |
- | [[#Public Methods|Go Back]] | + | * Type:String |
- | ==== CreateShapeFile(ShapeFileType, String, IEnumerable<DbfColumn>, Encoding) ==== | + | * Description:N/A |
- | <!-- static --> | + | |
- | Static API to create a new Shape File. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | <div newline></div> |
- | | shapeType | [[ThinkGeo.MapSuite.PortableCore.ShapeFileType|ShapeFileType]]<!-- ThinkGeo.MapSuite.PortableCore.ShapeFileType --> | This parameter specifies the the Shape File type for the target Shape File. | | + | ** {{wiki:PublicMethod.gif|}} Equals(Object) ** |
- | | pathFilename | String<!-- System.String --> | This parameter specifies the Shape filename for the target Shape File. | | + | |
- | | databaseColumns | IEnumerable<[[ThinkGeo.MapSuite.PortableCore.DbfColumn|DbfColumn]]><!-- System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.PortableCore.DbfColumn} --> | This parameter specifies the DBF column information for the target Shape File. | | + | |
- | | encoding | Encoding<!-- System.Text.Encoding --> | This parameter specifies the DBF encoding infromation for the target Shape File. | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.ShapeFileFeatureLayer --> | + | * //N/A// |
- | [[#Public Methods|Go Back]] | + | == Remarks == |
- | ==== Draw(GeoCanvas, Collection<SimpleCandidate>) ==== | + | * //N/A// |
- | This method draws the Layer. | + | |
- | === Remarks === | + | |
- | This method is the concrete wrapper for the abstract method DrawCore. This method draws the representation of the layer based on the extent you provided. | + | |
- | As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework. | + | == Return Value == |
- | === Return Value === | + | * Type:Boolean |
- | ^ Return Type ^ Description ^ | + | * Description:N/A |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | * //obj// |
- | | canvas | [[ThinkGeo.MapSuite.PortableCore.GeoCanvas|GeoCanvas]]<!-- ThinkGeo.MapSuite.PortableCore.GeoCanvas --> | This parameter is the canvas object or a GeoImage to draw on. | | + | * Type:Object |
- | | labelsInAllLayers | Collection<[[ThinkGeo.MapSuite.PortableCore.SimpleCandidate|SimpleCandidate]]><!-- System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.PortableCore.SimpleCandidate} --> | This parameter represents the labels used for collision detection and duplication checking. | | + | * Description:N/A |
- | <!-- ThinkGeo.MapSuite.PortableCore.Layer --> | + | <div newline></div> |
- | [[#Public Methods|Go Back]] | + | ** {{wiki:PublicMethod.gif|}} GetHashCode() ** |
- | ==== Equals(Object) ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Boolean<!-- System.Boolean --> | | | + | |
- | === Parameters === | + | * //N/A// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
- | | obj | Object<!-- System.Object --> | | | + | * //N/A// |
- | <!-- System.Object --> | + | == Return Value == |
- | [[#Public Methods|Go Back]] | + | * Type:Int32 |
- | ==== GetBoundingBox() ==== | + | * Description:N/A |
- | This method returns the bounding box of the Layer. | + | |
- | === Remarks === | + | |
- | This method is the concrete wrapper for the abstract method GetBoundingBoxCore. This method returns the bounding box of the RasterLayer. | + | |
- | As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework. | + | == Parameters == |
- | === Return Value === | + | <div newline></div> |
- | ^ Return Type ^ Description ^ | + | ** {{wiki:PublicMethod.gif|}} GetType() ** |
- | | [[ThinkGeo.MapSuite.PortableCore.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.PortableCore.RectangleShape --> | This method returns the bounding box of the Layer. | | + | |
- | === Parameters === | + | * //N/A// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
+ | * //N/A// | ||
- | <!-- ThinkGeo.MapSuite.PortableCore.Layer --> | + | == Return Value == |
- | [[#Public Methods|Go Back]] | + | * Type:Type |
- | ==== GetHashCode() ==== | + | * Description:N/A |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Int32<!-- System.Int32 --> | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | <div newline></div> |
+ | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} Rebuild(String) ** | ||
- | <!-- System.Object --> | + | * //This method rebuilds the SHP, SHX, DBF, IDX and IDS files for the given shape file.// |
- | [[#Public Methods|Go Back]] | + | == Remarks == |
- | ==== GetShapeFileType() ==== | + | * //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.// |
- | Get the Shape File type for the Shape File FeatureSource. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | [[ThinkGeo.MapSuite.PortableCore.ShapeFileType|ShapeFileType]]<!-- ThinkGeo.MapSuite.PortableCore.ShapeFileType --> | The ShapeFileType for the ShapeFile FeatureSource. | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Void |
+ | * Description:None | ||
- | <!-- ThinkGeo.MapSuite.PortableCore.ShapeFileFeatureLayer --> | + | == Parameters == |
- | [[#Public Methods|Go Back]] | + | * //shapePathFilename// |
- | ==== GetType() ==== | + | * Type:String |
- | === Return Value === | + | * Description:This parameter is the shape file you want to rebuild. |
- | ^ Return Type ^ Description ^ | + | |
- | | Type<!-- System.Type --> | | | + | |
- | === Parameters === | + | <div newline></div> |
- | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} CreateShapeFile(ShapeFileType,String,IEnumerable<DbfColumn>) ** |
- | <!-- System.Object --> | + | * //Static API to create a new Shape File.// |
- | [[#Public Methods|Go Back]] | + | == Remarks == |
- | ==== GetValidColumnNames(IEnumerable<String>, Encoding) ==== | + | * //N/A// |
- | <!-- static --> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Collection<String><!-- System.Collections.ObjectModel.Collection{System.String} --> | | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Void |
- | | columnNames | IEnumerable<String><!-- System.Collections.Generic.IEnumerable{System.String} --> | | | + | * Description:N/A |
- | | encoding | Encoding<!-- System.Text.Encoding --> | | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.ShapeFileFeatureLayer --> | + | == Parameters == |
- | [[#Public Methods|Go Back]] | + | * //shapeType// |
- | ==== GetValidColumnNames(IEnumerable<String>) ==== | + | * Type:[[ThinkGeo.MapSuite.Core.ShapeFileType|ShapeFileType]] |
- | <!-- static --> | + | * Description:This parameter specifies the the Shape File type for the target Shape File. |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Collection<String><!-- System.Collections.ObjectModel.Collection{System.String} --> | | | + | |
- | === Parameters === | + | * //pathFilename// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:String |
- | | columnNames | IEnumerable<String><!-- System.Collections.Generic.IEnumerable{System.String} --> | | | + | * Description:This parameter specifies the Shape filename for the target Shape File. |
- | <!-- ThinkGeo.MapSuite.PortableCore.ShapeFileFeatureLayer --> | + | * //databaseColumns// |
- | [[#Public Methods|Go Back]] | + | * Type:IEnumerable<[[ThinkGeo.MapSuite.Core.DbfColumn|DbfColumn]]> |
- | ==== GetValidColumns(IEnumerable<DbfColumn>, Encoding) ==== | + | * Description:This parameter specifies the DBF column information for the target Shape File. |
- | <!-- static --> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Collection<[[ThinkGeo.MapSuite.PortableCore.DbfColumn|DbfColumn]]><!-- System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.PortableCore.DbfColumn} --> | | | + | |
- | === Parameters === | + | <div newline></div> |
- | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} CreateShapeFile(ShapeFileType,String,IEnumerable<DbfColumn>,Encoding) ** |
- | | columns | IEnumerable<[[ThinkGeo.MapSuite.PortableCore.DbfColumn|DbfColumn]]><!-- System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.PortableCore.DbfColumn} --> | | | + | |
- | | encoding | Encoding<!-- System.Text.Encoding --> | | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.ShapeFileFeatureLayer --> | + | * //Static API to create a new Shape File.// |
- | [[#Public Methods|Go Back]] | + | == Remarks == |
- | ==== GetValidColumns(IEnumerable<DbfColumn>) ==== | + | * //N/A// |
- | <!-- static --> | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Collection<[[ThinkGeo.MapSuite.PortableCore.DbfColumn|DbfColumn]]><!-- System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.PortableCore.DbfColumn} --> | | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Void |
- | | columns | IEnumerable<[[ThinkGeo.MapSuite.PortableCore.DbfColumn|DbfColumn]]><!-- System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.PortableCore.DbfColumn} --> | | | + | * Description:N/A |
- | <!-- ThinkGeo.MapSuite.PortableCore.ShapeFileFeatureLayer --> | + | == Parameters == |
- | [[#Public Methods|Go Back]] | + | * //shapeType// |
- | ==== Open() ==== | + | * Type:[[ThinkGeo.MapSuite.Core.ShapeFileType|ShapeFileType]] |
- | This method opens the Layer so that it is initialized and ready to use. | + | * Description:This parameter specifies the the Shape File type for the target Shape File. |
- | === Remarks === | + | |
- | This method is the concrete wrapper for the abstract method OpenCore. The open method plays an important role, as it is responsible for initializing the Layer. Most methods on the Layer will throw an exception if the state of the Layer is not opened. When the map draws each layer, the layer will be opened as one of its first steps; then, after it is finished drawing with that layer, it will close it. In this way, we are sure to release all resources used by the Layer. | + | |
- | When implementing the abstract method, consider opening the FeatureSource or RasterSource. You will get a chance to close these in the Close method of the Layer. | + | * //pathFilename// |
+ | * Type:String | ||
+ | * Description:This parameter specifies the Shape filename for the target Shape File. | ||
- | As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework. | + | * //databaseColumns// |
- | === Return Value === | + | * Type:IEnumerable<[[ThinkGeo.MapSuite.Core.DbfColumn|DbfColumn]]> |
- | ^ Return Type ^ Description ^ | + | * Description:This parameter specifies the DBF column information for the target Shape File. |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //encoding// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Encoding |
+ | * Description:This parameter specifies the DBF encoding infromation for the target Shape File. | ||
- | <!-- ThinkGeo.MapSuite.PortableCore.Layer --> | + | <div newline></div> |
- | [[#Public Methods|Go Back]] | + | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} CreateShapeFile(ShapeFileType,String,IEnumerable<DbfColumn>,Encoding,OverwriteMode) ** |
- | ==== Rebuild(String) ==== | + | |
- | <!-- static --> | + | |
- | This method rebuilds the SHP, SHX, DBF, IDX and IDS files for the given shape file. | + | |
- | === 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. | + | * //Static API to create a new Shape File.// |
- | === Return Value === | + | == Remarks == |
- | ^ Return Type ^ Description ^ | + | * //An exception will be thown when the target Shape File does not exist while the overwrite mode is set to DoNotOverwrite.// |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Void |
- | | shapePathFilename | String<!-- System.String --> | This parameter is the shape file you want to rebuild. | | + | * Description:N/A |
- | <!-- ThinkGeo.MapSuite.PortableCore.ShapeFileFeatureLayer --> | + | == Parameters == |
- | [[#Public Methods|Go Back]] | + | * //shapeType// |
- | ==== RequestDrawing(IEnumerable<RectangleShape>, TimeSpan) ==== | + | * Type:[[ThinkGeo.MapSuite.Core.ShapeFileType|ShapeFileType]] |
- | === Return Value === | + | * Description:This parameter specifies the the Shape File type for the target Shape File. |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //pathFilename// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:String |
- | | extentsToRefresh | IEnumerable<[[ThinkGeo.MapSuite.PortableCore.RectangleShape|RectangleShape]]><!-- System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.PortableCore.RectangleShape} --> | | | + | * Description:This parameter specifies the Shape filename for the target Shape File. |
- | | bufferTime | TimeSpan<!-- System.TimeSpan --> | | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.Layer --> | + | * //databaseColumns// |
- | [[#Public Methods|Go Back]] | + | * Type:IEnumerable<[[ThinkGeo.MapSuite.Core.DbfColumn|DbfColumn]]> |
- | ==== RequestDrawing(IEnumerable<RectangleShape>) ==== | + | * Description:This parameter specifies the DBF column information for the target Shape File. |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //encoding// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Encoding |
- | | extentsToRefresh | IEnumerable<[[ThinkGeo.MapSuite.PortableCore.RectangleShape|RectangleShape]]><!-- System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.PortableCore.RectangleShape} --> | | | + | * Description:This parameter specifies the DBF encoding infromation for the target Shape File. |
- | <!-- ThinkGeo.MapSuite.PortableCore.Layer --> | + | * //overwriteMode// |
- | [[#Public Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.Core.OverwriteMode|OverwriteMode]] |
- | ==== RequestDrawing(TimeSpan) ==== | + | * Description:This parameter specifies the override mode when the target Shape File exists. |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | <div newline></div> |
- | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} BuildIndexFile(String) ** |
- | | bufferTime | TimeSpan<!-- System.TimeSpan --> | | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.Layer --> | + | * //This method builds a spatial index for the layer.// |
- | [[#Public Methods|Go Back]] | + | == Remarks == |
- | ==== RequestDrawing(RectangleShape) ==== | + | * //This overload allows you to pass in the Shape File.// |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Void |
- | | extentToRefresh | [[ThinkGeo.MapSuite.PortableCore.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.PortableCore.RectangleShape --> | | | + | * Description:None |
- | <!-- ThinkGeo.MapSuite.PortableCore.Layer --> | + | == Parameters == |
- | [[#Public Methods|Go Back]] | + | * //pathFilename// |
- | ==== RequestDrawing() ==== | + | * Type:String |
- | === Return Value === | + | * Description:The path and filename to the Shape File. |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | <div newline></div> |
- | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} BuildIndexFile(String,String,BuildIndexMode) ** |
- | <!-- ThinkGeo.MapSuite.PortableCore.Layer --> | + | * //This method build a spatial index for the shape file which increases accessspeed.// |
- | [[#Public Methods|Go Back]] | + | == Remarks == |
- | ==== RequestDrawing(RectangleShape, TimeSpan) ==== | + | * //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 === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Void |
- | | extentToRefresh | [[ThinkGeo.MapSuite.PortableCore.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.PortableCore.RectangleShape --> | | | + | * Description:None |
- | | bufferTime | TimeSpan<!-- System.TimeSpan --> | | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.Layer --> | + | == Parameters == |
- | [[#Public Methods|Go Back]] | + | * //shapePathFilename// |
- | ==== SaveToProjection(String, String, Projection, OverwriteMode) ==== | + | * Type:String |
- | <!-- static --> | + | * Description:This parameter is the shape file name and path that you want to build an index for. |
- | This API provide a easy way to project features in a shape file into another projection and save it to shape file. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //indexPathFilename// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:String |
- | | sourceShapeFile | String<!-- System.String --> | This parameter specifies the source shape file to be projected. | | + | * Description:This parameter specifies the index file name. |
- | | targetShapeFile | String<!-- System.String --> | This parameter specifies the target shape file to be saved for the projected features. | | + | |
- | | projection | [[ThinkGeo.MapSuite.PortableCore.Projection|Projection]]<!-- ThinkGeo.MapSuite.PortableCore.Projection --> | 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 | [[ThinkGeo.MapSuite.PortableCore.OverwriteMode|OverwriteMode]]<!-- ThinkGeo.MapSuite.PortableCore.OverwriteMode --> | This parameter specifies the override mode when the target shape file exists. | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.ShapeFileFeatureLayer --> | + | * //buildIndexMode// |
- | [[#Public Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.Core.BuildIndexMode|BuildIndexMode]] |
- | ==== ToString() ==== | + | * Description:This parameter determines what will happen if there is an existing index file. |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | String<!-- System.String --> | | | + | |
- | === Parameters === | + | <div newline></div> |
- | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} BuildIndexFile(String,BuildIndexMode) ** |
- | <!-- System.Object --> | + | * //This method builds a spatial index for the layer.// |
- | [[#Public Methods|Go Back]] | + | == Remarks == |
- | ==== Validate() ==== | + | * //This overload allows you to pass in the Shape File and determines if we rebuild an index file that already exists.// |
- | This method checks all features in a shapefile is supported by Mapsuite or not. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Dictionary<String,String><!-- System.Collections.Generic.Dictionary{System.String,System.String} --> | 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 === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Void |
+ | * Description:None | ||
- | <!-- ThinkGeo.MapSuite.PortableCore.ShapeFileFeatureLayer --> | + | == Parameters == |
- | [[#Public Methods|Go Back]] | + | * //pathFilename// |
- | ===== Protected Methods ===== | + | * Type:String |
- | ==== CloneDeepCore() ==== | + | * Description:This parameter is the matching pattern that defines which Shape Files to include. |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | [[ThinkGeo.MapSuite.PortableCore.Layer|Layer]]<!-- ThinkGeo.MapSuite.PortableCore.Layer --> | | | + | |
- | === Parameters === | + | * //rebuildExistingIndexMode// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.Core.BuildIndexMode|BuildIndexMode]] |
+ | * Description:This parameter determines whether an index file will be rebuilt if it already exists. | ||
- | <!-- ThinkGeo.MapSuite.PortableCore.Layer(overriden) --> | + | <div newline></div> |
- | [[#Protected Methods|Go Back]] | + | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} BuildIndexFile(IEnumerable<Feature>,String) ** |
- | ==== CloseCore() ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //This method builds a spatial index for the specified group of features.// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
+ | * //This overload allows you to pass in a group of features and specify the index filename to use.// | ||
- | <!-- ThinkGeo.MapSuite.PortableCore.Layer(overriden) --> | + | == Return Value == |
- | [[#Protected Methods|Go Back]] | + | * Type:Void |
- | ==== DrawAttributionCore(GeoCanvas, String) ==== | + | * Description:None |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | * //features// |
- | | canvas | [[ThinkGeo.MapSuite.PortableCore.GeoCanvas|GeoCanvas]]<!-- ThinkGeo.MapSuite.PortableCore.GeoCanvas --> | | | + | * Type:IEnumerable<[[ThinkGeo.MapSuite.Core.Feature|Feature]]> |
- | | attribution | String<!-- System.String --> | | | + | * Description:This parameter specifies the features for which to build the index. |
- | <!-- ThinkGeo.MapSuite.PortableCore.Layer --> | + | * //indexPathFilename// |
- | [[#Protected Methods|Go Back]] | + | * Type:String |
- | ==== DrawCore(GeoCanvas, Collection<SimpleCandidate>) ==== | + | * Description:This parameter specifies the target index path and filename. |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | <div newline></div> |
- | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} BuildIndexFile(IEnumerable<Feature>,String,Projection) ** |
- | | canvas | [[ThinkGeo.MapSuite.PortableCore.GeoCanvas|GeoCanvas]]<!-- ThinkGeo.MapSuite.PortableCore.GeoCanvas --> | | | + | |
- | | labelsInAllLayers | Collection<[[ThinkGeo.MapSuite.PortableCore.SimpleCandidate|SimpleCandidate]]><!-- System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.PortableCore.SimpleCandidate} --> | | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.Layer(overriden) --> | + | * //This method builds a spatial index for the specified group of features and target projection.// |
- | [[#Protected Methods|Go Back]] | + | == Remarks == |
- | ==== DrawException(GeoCanvas, Exception) ==== | + | * //This overload allows you to pass in a group of features and specify a target projection and the index filename to use.// |
- | This method will draw on the canvas when the layer.Draw throw exception and the DrawExceptionMode is set to DrawException instead of ThrowException. | + | |
- | === Remarks === | + | |
- | This method can be overriden its logic by rewrite the DrawExceptionCore. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Void |
- | | canvas | [[ThinkGeo.MapSuite.PortableCore.GeoCanvas|GeoCanvas]]<!-- ThinkGeo.MapSuite.PortableCore.GeoCanvas --> | The target canvas to draw the layer. | | + | * Description:None |
- | | e | Exception<!-- System.Exception --> | The exception thrown when layer.Draw(). | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.Layer --> | + | == Parameters == |
- | [[#Protected Methods|Go Back]] | + | * //features// |
- | ==== DrawExceptionCore(GeoCanvas, Exception) ==== | + | * Type:IEnumerable<[[ThinkGeo.MapSuite.Core.Feature|Feature]]> |
- | This method will draw on the canvas when the layer.Draw throw exception and the DrawExceptionMode is set to DrawException instead of ThrowException. | + | * Description:This parameter specifies the features for which to build the index. |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //indexPathFilename// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:String |
- | | canvas | [[ThinkGeo.MapSuite.PortableCore.GeoCanvas|GeoCanvas]]<!-- ThinkGeo.MapSuite.PortableCore.GeoCanvas --> | The target canvas to draw the layer. | | + | * Description:This parameter specifies the target index path and filename. |
- | | e | Exception<!-- System.Exception --> | The exception thrown when layer.Draw(). | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.Layer --> | + | * //projection// |
- | [[#Protected Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.Core.Projection|Projection]] |
- | ==== Finalize() ==== | + | * Description:This parameter specifies the projection to build index against those features. |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | <div newline></div> |
- | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} BuildIndexFile(IEnumerable<Feature>,String,BuildIndexMode) ** |
- | <!-- System.Object --> | + | * //This method builds a spatial index for the specified group of features.// |
- | [[#Protected Methods|Go Back]] | + | == Remarks == |
- | ==== GetBoundingBoxCore() ==== | + | * //This overload allows you to pass in a group of features and specify the index filename to use.// |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | [[ThinkGeo.MapSuite.PortableCore.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.PortableCore.RectangleShape --> | | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Void |
+ | * Description:None | ||
- | <!-- ThinkGeo.MapSuite.PortableCore.Layer(overriden) --> | + | == Parameters == |
- | [[#Protected Methods|Go Back]] | + | * //features// |
- | ==== MemberwiseClone() ==== | + | * Type:IEnumerable<[[ThinkGeo.MapSuite.Core.Feature|Feature]]> |
- | === Return Value === | + | * Description:This parameter specifies the features for which to build the index. |
- | ^ Return Type ^ Description ^ | + | |
- | | Object<!-- System.Object --> | | | + | |
- | === Parameters === | + | * //indexPathFilename// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:String |
+ | * Description:This parameter determines the target index path filename. | ||
- | <!-- System.Object --> | + | * //buildIndexMode// |
- | [[#Protected Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.Core.BuildIndexMode|BuildIndexMode]] |
- | ==== OnDrawingAttribution(DrawingAttributionLayerEventArgs) ==== | + | * Description:This parameter determines whether an index file will be rebuilt if it already exists. |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | <div newline></div> |
- | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} BuildIndexFile(IEnumerable<Feature>,String,Projection,BuildIndexMode) ** |
- | | args | [[ThinkGeo.MapSuite.PortableCore.DrawingAttributionLayerEventArgs|DrawingAttributionLayerEventArgs]]<!-- ThinkGeo.MapSuite.PortableCore.DrawingAttributionLayerEventArgs --> | | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.Layer --> | + | * //This method builds a spatial index for the specified group of features.// |
- | [[#Protected Methods|Go Back]] | + | == Remarks == |
- | ==== OnDrawingException(DrawingExceptionLayerEventArgs) ==== | + | * //This overload allows you to pass in a group of features and specify a target projection and the index filename to use.// |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Void |
- | | e | [[ThinkGeo.MapSuite.PortableCore.DrawingExceptionLayerEventArgs|DrawingExceptionLayerEventArgs]]<!-- ThinkGeo.MapSuite.PortableCore.DrawingExceptionLayerEventArgs --> | | | + | * Description:None |
- | <!-- ThinkGeo.MapSuite.PortableCore.Layer --> | + | == Parameters == |
- | [[#Protected Methods|Go Back]] | + | * //features// |
- | ==== OnDrawingFeatures(DrawingFeaturesEventArgs) ==== | + | * Type:IEnumerable<[[ThinkGeo.MapSuite.Core.Feature|Feature]]> |
- | This method raises the DrawingFeatures event. | + | * Description:This parameter specifies the features for which to build the index. |
- | === Remarks === | + | |
- | <list type="bullet"> <item>You can call this method from a derived class to enable it to raise the event. This may be useful if you plan to extend the FeatureLayer and you need access to the event. | + | |
- | This event is meant to allow you to add or remove the features to be drawn.</item> </list> | + | * //indexPathFilename// |
- | === Return Value === | + | * Type:String |
- | ^ Return Type ^ Description ^ | + | * Description:This parameter determines the target index path filename. |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //projection// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.Core.Projection|Projection]] |
- | | e | [[ThinkGeo.MapSuite.PortableCore.DrawingFeaturesEventArgs|DrawingFeaturesEventArgs]]<!-- ThinkGeo.MapSuite.PortableCore.DrawingFeaturesEventArgs --> | This parameter represents the event arguments for the event. | | + | * Description:This parameter determines the Projection to build index against those features. |
- | <!-- ThinkGeo.MapSuite.PortableCore.FeatureLayer --> | + | * //buildIndexMode// |
- | [[#Protected Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.Core.BuildIndexMode|BuildIndexMode]] |
- | ==== OnDrawingProgressChanged(DrawingProgressChangedEventArgs) ==== | + | * Description:This parameter determines whether an index file will be rebuilt if it already exists. |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | <div newline></div> |
- | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} BuildIndexFile(String,String,String,String,BuildIndexMode) ** |
- | | e | [[ThinkGeo.MapSuite.PortableCore.DrawingProgressChangedEventArgs|DrawingProgressChangedEventArgs]]<!-- ThinkGeo.MapSuite.PortableCore.DrawingProgressChangedEventArgs --> | | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.Layer --> | + | * //This method builds a spatial index only for those features that satisfy a regular expression.// |
- | [[#Protected Methods|Go Back]] | + | == Remarks == |
- | ==== OnDrawingWrappingFeatures(DrawingWrappingFeaturesFeatureLayerEventArgs) ==== | + | * //This overload allows you to pass in a Shape File and specify the index filename to use.// |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Void |
- | | e | [[ThinkGeo.MapSuite.PortableCore.DrawingWrappingFeaturesFeatureLayerEventArgs|DrawingWrappingFeaturesFeatureLayerEventArgs]]<!-- ThinkGeo.MapSuite.PortableCore.DrawingWrappingFeaturesFeatureLayerEventArgs --> | | | + | * Description:None |
- | <!-- ThinkGeo.MapSuite.PortableCore.FeatureLayer --> | + | == Parameters == |
- | [[#Protected Methods|Go Back]] | + | * //shapePathFilename// |
- | ==== OnDrawnAttribution(DrawnAttributionLayerEventArgs) ==== | + | * Type:String |
- | === Return Value === | + | * Description:This parameter specifies the Shape File for which to build the index. |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //indexPathFilename// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:String |
- | | args | [[ThinkGeo.MapSuite.PortableCore.DrawnAttributionLayerEventArgs|DrawnAttributionLayerEventArgs]]<!-- ThinkGeo.MapSuite.PortableCore.DrawnAttributionLayerEventArgs --> | | | + | * Description:This parameter determines the target index path filename. |
- | <!-- ThinkGeo.MapSuite.PortableCore.Layer --> | + | * //columnName// |
- | [[#Protected Methods|Go Back]] | + | * Type:String |
- | ==== OnDrawnException(DrawnExceptionLayerEventArgs) ==== | + | * Description:This parameter determines the column name whose values will be tested against the regular expression. |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //regularExpression// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:String |
- | | e | [[ThinkGeo.MapSuite.PortableCore.DrawnExceptionLayerEventArgs|DrawnExceptionLayerEventArgs]]<!-- ThinkGeo.MapSuite.PortableCore.DrawnExceptionLayerEventArgs --> | | | + | * Description:This parameter represents the regular expression to test against each feature for inclusion in the index. |
- | <!-- ThinkGeo.MapSuite.PortableCore.Layer --> | + | * //buildIndexMode// |
- | [[#Protected Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.Core.BuildIndexMode|BuildIndexMode]] |
- | ==== OnRequestedDrawing(RequestedDrawingLayerEventArgs) ==== | + | * Description:This parameter determines whether an index file will be rebuilt if it already exists. |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | <div newline></div> |
- | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} BuildIndexFile(String,String,Projection,String,String,BuildIndexMode) ** |
- | | eventArgs | [[ThinkGeo.MapSuite.PortableCore.RequestedDrawingLayerEventArgs|RequestedDrawingLayerEventArgs]]<!-- ThinkGeo.MapSuite.PortableCore.RequestedDrawingLayerEventArgs --> | | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.Layer --> | + | * //This method builds a spatial index only for those features that satisfy a regular expression, based on a passed-in projection.// |
- | [[#Protected Methods|Go Back]] | + | == Remarks == |
- | ==== OnRequestingDrawing(RequestingDrawingLayerEventArgs) ==== | + | * //This overload allows you to pass in a Shape File and specify the index filename to use.// |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Void |
- | | eventArgs | [[ThinkGeo.MapSuite.PortableCore.RequestingDrawingLayerEventArgs|RequestingDrawingLayerEventArgs]]<!-- ThinkGeo.MapSuite.PortableCore.RequestingDrawingLayerEventArgs --> | | | + | * Description:None |
- | <!-- ThinkGeo.MapSuite.PortableCore.Layer --> | + | == Parameters == |
- | [[#Protected Methods|Go Back]] | + | * //shapePathFilename// |
- | ==== OpenCore() ==== | + | * Type:String |
- | === Return Value === | + | * Description:This parameter specifies the Shape File for which to build the index. |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //indexPathFilename// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:String |
+ | * Description:This parameter determines the target index path filename. | ||
- | <!-- ThinkGeo.MapSuite.PortableCore.Layer(overriden) --> | + | * //projection// |
- | [[#Protected Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.Core.Projection|Projection]] |
- | ==== SetupTools() ==== | + | * Description:This parameter determines the projection that will be used to build the index against those features that satisfy the regular expression. |
- | This method sets up the EditTools and QueryTools objects. | + | |
- | === Remarks === | + | |
- | This method is the concrete wrapper for the abstract method SetupToolsCore. The SetupTools method allows you to create the QueryTool, EditTools and other tools you may need on your object. We created this method so that if you want to extend one of the tool classes, you can override the SetupToolsCore and create any class you want. | + | |
- | As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework. | + | * //columnName// |
- | === Return Value === | + | * Type:String |
- | ^ Return Type ^ Description ^ | + | * Description:This parameter determines the column name whose values will be tested against the regular expression. |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //regularExpression// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:String |
+ | * Description:This parameter represents the regular expression to test against each feature for inclusion in the index. | ||
- | <!-- ThinkGeo.MapSuite.PortableCore.FeatureLayer --> | + | * //buildIndexMode// |
- | [[#Protected Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.Core.BuildIndexMode|BuildIndexMode]] |
- | ==== SetupToolsCore() ==== | + | * Description:This parameter determines whether an index file will be rebuilt if it already exists. |
- | This method sets up the EditTools and QueryTools objects. | + | |
- | === Remarks === | + | |
- | This method is the concrete wrapper for the abstract method SetupTools. The SetupTools method allows you to create the QueryTool, EditTools and other tools you may need on your object. We created this method so that if you want to extend one of the tool classes, you can override the SetupToolsCore and create any class you want. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | <div newline></div> |
- | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} BuildIndexFile(String,String,Projection,String,String,BuildIndexMode,Encoding) ** |
- | <!-- ThinkGeo.MapSuite.PortableCore.FeatureLayer --> | + | * //This method builds a spatial index only for those features that satisfy a regular expression, based on a passed-in projection.// |
- | [[#Protected Methods|Go Back]] | + | == Remarks == |
- | ===== Public Properties ===== | + | * //This overload allows you to pass in a Shape File and specify the index filename to use.// |
- | ==== Attribution ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | String<!-- System.String --> | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.Layer --> | + | == Return Value == |
- | [[#Public Properties|Go Back]] | + | * Type:Void |
- | ==== DrawingExceptionMode ==== | + | * Description:None |
- | Gets or sets the DrawExcpetionMode when exception happens. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | [[ThinkGeo.MapSuite.PortableCore.DrawingExceptionMode|DrawingExceptionMode]]<!-- ThinkGeo.MapSuite.PortableCore.DrawingExceptionMode --> | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.Layer --> | + | == Parameters == |
- | [[#Public Properties|Go Back]] | + | * //shapePathFilename// |
- | ==== DrawingMarginPercentage ==== | + | * Type:String |
- | This property gets and sets the extra drawing margin as a percentage around the map that draw to ensure that labeling is correct. | + | * Description:This parameter specifies the Shape File for which to build the index. |
- | === Remarks === | + | |
- | This extra margin that we draw exists so that labels match up if they are partially cut off. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | Double<!-- System.Double --> | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.FeatureLayer --> | + | * //indexPathFilename// |
- | [[#Public Properties|Go Back]] | + | * Type:String |
- | ==== DrawingQuality ==== | + | * Description:This parameter determines the target index path filename. |
- | This property gets and sets the general drawing quality for the FeatureLayer's canvas. | + | |
- | === Remarks === | + | |
- | The DrawingQuality enumeration allows you to control, in a macro sense, the drawing quality that will be used in the GeoCanvas. Each GeoCanvas, which is responsible for drawing of the features, may have its own specialized drawing quality properties. What the DrawingQuality enumeration does is define some general guidelines for each GeoCanvas. For example, if you set the DrawingQuality to HighSpeed, then inside of the GdiPlusGeoCanvas there is a profile for HighSpeed. This profile sets specific properties, such as the smoothing mode and composing drawing mode of the GdiPlusGeoCanvas. As each GeoCanvas may have different drawing quality properties, this offers a general way to control drawing quality and speed. | + | |
- | If you need complete control over how a specific GeoCanvas will draw, then you can set the DrawingQuality to Custom. This will tell the specific GeoCanvas to use the properties on its own object instead of one of the pre-defined profiles. If one of the profiles -- such as HighSpeed or HighQuality -- is set, then the specific GeoCanvas ignores its own properties for drawing quality. | + | * //projection// |
- | === Return Value === | + | * Type:[[ThinkGeo.MapSuite.Core.Projection|Projection]] |
- | ^ Return Type ^ | + | * Description:This parameter determines the projection that will be used to build the index against those features that satisfy the regular expression. |
- | | [[ThinkGeo.MapSuite.PortableCore.DrawingQuality|DrawingQuality]]<!-- ThinkGeo.MapSuite.PortableCore.DrawingQuality --> | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.FeatureLayer --> | + | * //columnName// |
- | [[#Public Properties|Go Back]] | + | * Type:String |
- | ==== DrawingTime ==== | + | * Description:This parameter determines the column name whose values will be tested against the regular expression. |
- | This property gets the last drawing time for the layer. | + | |
- | === Remarks === | + | |
- | We track the drawing time for the layer and report it back in this method. This is useful for determining the speed of various layers. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | TimeSpan<!-- System.TimeSpan --> | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.Layer --> | + | * //regularExpression// |
- | [[#Public Properties|Go Back]] | + | * Type:String |
- | ==== EditTools ==== | + | * Description:This parameter represents the regular expression to test against each feature for inclusion in the index. |
- | This property gets the EditTools that allow you to easily edit InternalFeatures in the Feature Layer. | + | |
- | === Remarks === | + | |
- | The EditTools are supplied as an easily accessible wrapper for the editing methods of the FeatureSource. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | [[ThinkGeo.MapSuite.PortableCore.EditTools|EditTools]]<!-- ThinkGeo.MapSuite.PortableCore.EditTools --> | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.FeatureLayer --> | + | * //buildIndexMode// |
- | [[#Public Properties|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.Core.BuildIndexMode|BuildIndexMode]] |
- | ==== Encoding ==== | + | * Description:This parameter determines whether an index file will be rebuilt if it already exists. |
- | This property gets and sets the encoding information for the DBF. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | Encoding<!-- System.Text.Encoding --> | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.ShapeFileFeatureLayer --> | + | * //encoding// |
- | [[#Public Properties|Go Back]] | + | * Type:Encoding |
- | ==== FeatureIdsToExclude ==== | + | * Description:This parameter specifies the encoding information used in the source DBF file. |
- | A collection of strings representing record id of features not to get in the Layer. | + | |
- | === Remarks === | + | |
- | This string collection is a handy place to specify what records not to get from the source. Suppose you have a shape file of roads and you want to hide the roads within a particular rectangle, simply execute GetFeaturesInsideBoundingBox() and add the id of the return features to the collection and forget about them. Since you can set this by Layer it makes is easy to determine what to and what not to. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | Collection<String><!-- System.Collections.ObjectModel.Collection{System.String} --> | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.FeatureLayer --> | + | <div newline></div> |
- | [[#Public Properties|Go Back]] | + | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} CloneShapeFileStructure(String,String) ** |
- | ==== FeatureSource ==== | + | |
- | This property gets the FeatureSource for the FeatureLayer. | + | |
- | === Remarks === | + | |
- | The FeatureSource is the provider of data to the FeatureLayer. There are different FeatureSource classes to match the various ways that feature data is stored. It is important that, when you inherit from the FeatureLayer, in the constructor you set the FeatureSource you want to use. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | [[ThinkGeo.MapSuite.PortableCore.FeatureSource|FeatureSource]]<!-- ThinkGeo.MapSuite.PortableCore.FeatureSource --> | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.FeatureLayer --> | + | * //Clone the structure from the source ShapeFile to the target ShapeFile. After cloning the structure, the target ShapeFile will have the same type and the same DBF columns as the source ShapeFile, but without any records in it.// |
- | [[#Public Properties|Go Back]] | + | == Remarks == |
- | ==== HasBoundingBox ==== | + | * //N/A// |
- | This property checks to see if a Layer has a BoundingBox or not. If it has no BoundingBox, it will throw an exception when you call the GetBoundingBox() and GetFullExtent() APIs. In ShapeFileFeatureLayer, we override this API and mark it as true. | + | |
- | === Remarks === | + | |
- | The default implementation in the base class returns false. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | Boolean<!-- System.Boolean --> | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.Layer(overriden) --> | + | == Return Value == |
- | [[#Public Properties|Go Back]] | + | * Type:Void |
- | ==== IndexPathFileName ==== | + | * Description:N/A |
- | This property returns the path and filename of the index file you want to represent. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | String<!-- System.String --> | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.ShapeFileFeatureLayer --> | + | == Parameters == |
- | [[#Public Properties|Go Back]] | + | * //sourceShapePathFilename// |
- | ==== IsGrayscale ==== | + | * Type:String |
- | This property gets and sets if the image should be converted to grayscale. | + | * Description:The source Shape File to be cloned. |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | Boolean<!-- System.Boolean --> | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.Layer --> | + | * //targetShapePathFilename// |
- | [[#Public Properties|Go Back]] | + | * Type:String |
- | ==== IsNegative ==== | + | * Description:The target Shape File, which will have the same structure as the source Shape File after cloning operation is complete. |
- | This property gets and sets whether the image should be converted to negative (inverse colors). | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | Boolean<!-- System.Boolean --> | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.Layer --> | + | <div newline></div> |
- | [[#Public Properties|Go Back]] | + | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} CloneShapeFileStructure(String,String,OverwriteMode) ** |
- | ==== IsOpen ==== | + | |
- | This property returns true if the Layer is open and false if it is not. | + | |
- | === Remarks === | + | |
- | This method is the concrete wrapper for the abstract method IsOpenCore. Various methods on the Layer require that it be in an open state. If one of those methods is called when the state is not open, then the method will throw an exception. To enter the open state, you must call the Layer Open method. The method will raise an exception if the current Layer is already open. | + | |
- | As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework. | + | * //Clone the structure from the source ShapeFile to the target ShapeFile. After cloning the structure, the target ShapeFile will have the same type and the same DBF columns as the source ShapeFile, but without any records in it.// |
- | === Return Value === | + | == Remarks == |
- | ^ Return Type ^ | + | * //An exception will be thown when the target ShapeFile does not exist and the overwrite mode is set to DoNotOverwrite.// |
- | | Boolean<!-- System.Boolean --> | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.Layer --> | + | == Return Value == |
- | [[#Public Properties|Go Back]] | + | * Type:Void |
- | ==== IsVisible ==== | + | * Description:N/A |
- | This property gets and set the visible state of the layer. | + | |
- | === Remarks === | + | |
- | If this property is set to false, the layer will not draw. We ensure this in the Draw method. This is useful for legends and other controls that control the visibility of layers. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | Boolean<!-- System.Boolean --> | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.Layer --> | + | == Parameters == |
- | [[#Public Properties|Go Back]] | + | * //sourceShapePathFilename// |
- | ==== MaxRecordsToDraw ==== | + | * Type:String |
- | === Return Value === | + | * Description:The source Shape File to be cloned. |
- | ^ Return Type ^ | + | |
- | | Int32<!-- System.Int32 --> | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.FeatureLayer --> | + | * //targetShapePathFilename// |
- | [[#Public Properties|Go Back]] | + | * Type:String |
- | ==== Name ==== | + | * Description:The target Shape File, which will have the same structure as the source Shape File after cloning operation is complete. |
- | This property gets and sets the name for the layer. | + | |
- | === Remarks === | + | |
- | The name is user defined. It is useful to set, as it may be used for higher level components such as legends, etc. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | String<!-- System.String --> | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.Layer --> | + | * //overwriteMode// |
- | [[#Public Properties|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.Core.OverwriteMode|OverwriteMode]] |
- | ==== ProgressiveDrawingRecordsCount ==== | + | * Description:This parameter specifies the overwrite mode when the target ShapeFile already exists. |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | Int32<!-- System.Int32 --> | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.ShapeFileFeatureLayer --> | + | <div newline></div> |
- | [[#Public Properties|Go Back]] | + | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} CloneShapeFileStructure(String,String,OverwriteMode,Encoding) ** |
- | ==== QueryTools ==== | + | |
- | This property gets the QueryTools that allow you to easily query Features from the Feature Layer. | + | |
- | === Remarks === | + | |
- | This property gets the QueryTools that allow you to easily query Features from the Feature Layer. The QueryTools are supplied as an easily accessible wrapper for the query methods of the FeatureSource. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | [[ThinkGeo.MapSuite.PortableCore.QueryTools|QueryTools]]<!-- ThinkGeo.MapSuite.PortableCore.QueryTools --> | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.FeatureLayer --> | + | * //Clone the structure from the source ShapeFile to the target ShapeFile. After cloning the structure, the target ShapeFile will have the same type and the same DBF columns as the source ShapeFile, but without any records in it.// |
- | [[#Public Properties|Go Back]] | + | == Remarks == |
- | ==== ReadWriteMode ==== | + | * //An exception will be thown when the target ShapeFile does not exist and the overwrite mode is set to DoNotOverwrite.// |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | [[ThinkGeo.MapSuite.PortableCore.ShapeFileReadWriteMode|ShapeFileReadWriteMode]]<!-- ThinkGeo.MapSuite.PortableCore.ShapeFileReadWriteMode --> | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.ShapeFileFeatureLayer --> | + | == Return Value == |
- | [[#Public Properties|Go Back]] | + | * Type:Void |
- | ==== RequestDrawingInterval ==== | + | * Description:N/A |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | TimeSpan<!-- System.TimeSpan --> | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.Layer --> | + | == Parameters == |
- | [[#Public Properties|Go Back]] | + | * //sourceShapePathFilename// |
- | ==== RequireIndex ==== | + | * Type:String |
- | This property gets and sets whether an index is required when reading data. The default value is true. | + | * Description:The source Shape File to be cloned. |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | * //targetShapePathFilename// |
- | | Boolean<!-- System.Boolean --> | | + | * 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.Core.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. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} BuildRecordIdColumn(String,String,BuildRecordIdMode) ** | ||
+ | |||
+ | * //Static API used to build RecordId. The Id will start from 0.// | ||
+ | == 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.Core.BuildRecordIdMode|BuildRecordIdMode]] | ||
+ | * Description:The RecordId build mode. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} BuildRecordIdColumn(String,String,BuildRecordIdMode,Int32) ** | ||
+ | |||
+ | * //Static API used to build RecordId from the specified starting Id number.// | ||
+ | == 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.Core.BuildRecordIdMode|BuildRecordIdMode]] | ||
+ | * Description:The RecordId build mode. | ||
+ | |||
+ | * //startNumber// | ||
+ | * Type:Int32 | ||
+ | * Description:The starting Id number of the RecordId. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} BuildRecordIdColumn(String,String,BuildRecordIdMode,Int32,Encoding) ** | ||
+ | |||
+ | * //Static API used to build RecordId from the specified starting Id number.// | ||
+ | == 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.Core.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. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} SaveToProjection(String,String,Projection,OverwriteMode) ** | ||
+ | |||
+ | * //This API provide a easy way to project features in a shape file into another projection and save it to shape file.// | ||
+ | == 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.Core.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.Core.OverwriteMode|OverwriteMode]] | ||
+ | * Description:This parameter specifies the override mode when the target shape file exists. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} GetValidColumns(IEnumerable<DbfColumn>) ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Collection<[[ThinkGeo.MapSuite.Core.DbfColumn|DbfColumn]]> | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //columns// | ||
+ | * Type:IEnumerable<[[ThinkGeo.MapSuite.Core.DbfColumn|DbfColumn]]> | ||
+ | * Description:N/A | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} GetValidColumns(IEnumerable<DbfColumn>,Encoding) ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Collection<[[ThinkGeo.MapSuite.Core.DbfColumn|DbfColumn]]> | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //columns// | ||
+ | * Type:IEnumerable<[[ThinkGeo.MapSuite.Core.DbfColumn|DbfColumn]]> | ||
+ | * Description:N/A | ||
+ | |||
+ | * //encoding// | ||
+ | * Type:Encoding | ||
+ | * Description:N/A | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} GetValidColumnNames(IEnumerable<String>) ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Collection<String> | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //columnNames// | ||
+ | * Type:IEnumerable<String> | ||
+ | * Description:N/A | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} GetValidColumnNames(IEnumerable<String>,Encoding) ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Collection<String> | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //columnNames// | ||
+ | * Type:IEnumerable<String> | ||
+ | * Description:N/A | ||
+ | |||
+ | * //encoding// | ||
+ | * Type:Encoding | ||
+ | * Description:N/A | ||
+ | |||
+ | <div newline></div> | ||
+ | ==== Protected Methods ==== | ||
+ | ** {{wiki:ProtectedMethod.gif|}} CloneDeepCore() ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.Layer|Layer]] | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} DrawCore(GeoCanvas,Collection<SimpleCandidate>) ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //canvas// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | ||
+ | * Description:N/A | ||
+ | |||
+ | * //labelsInAllLayers// | ||
+ | * Type:Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]> | ||
+ | * Description:N/A | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} OnDrawingFeatures(DrawingFeaturesEventArgs) ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //e// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.DrawingFeaturesEventArgs|DrawingFeaturesEventArgs]] | ||
+ | * Description:N/A | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} OnDrawingWrappingFeatures(DrawingWrappingFeaturesFeatureLayerEventArgs) ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //e// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.DrawingWrappingFeaturesFeatureLayerEventArgs|DrawingWrappingFeaturesFeatureLayerEventArgs]] | ||
+ | * Description:N/A | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} SetupTools() ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} SetupToolsCore() ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} OpenCore() ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} CloseCore() ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} GetBoundingBoxCore() ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} OnRequestingDrawing(RequestingDrawingLayerEventArgs) ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //eventArgs// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.RequestingDrawingLayerEventArgs|RequestingDrawingLayerEventArgs]] | ||
+ | * Description:N/A | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} GetThreadSafetyLevelCore() ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.ThreadSafetyLevel|ThreadSafetyLevel]] | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} DrawException(GeoCanvas,Exception) ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //canvas// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | ||
+ | * Description:N/A | ||
+ | |||
+ | * //e// | ||
+ | * Type:Exception | ||
+ | * Description:N/A | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} DrawExceptionCore(GeoCanvas,Exception) ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //canvas// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | ||
+ | * Description:N/A | ||
+ | |||
+ | * //e// | ||
+ | * Type:Exception | ||
+ | * Description:N/A | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} OnDrawingException(DrawingExceptionLayerEventArgs) ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //e// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.DrawingExceptionLayerEventArgs|DrawingExceptionLayerEventArgs]] | ||
+ | * Description:N/A | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} OnDrawnException(DrawnExceptionLayerEventArgs) ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //e// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.DrawnExceptionLayerEventArgs|DrawnExceptionLayerEventArgs]] | ||
+ | * Description:N/A | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} DrawAttributionCore(GeoCanvas,String) ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //canvas// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | ||
+ | * Description:N/A | ||
+ | |||
+ | * //attribution// | ||
+ | * Type:String | ||
+ | * Description:N/A | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} OnDrawingAttribution(DrawingAttributionLayerEventArgs) ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //args// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.DrawingAttributionLayerEventArgs|DrawingAttributionLayerEventArgs]] | ||
+ | * Description:N/A | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} OnDrawnAttribution(DrawnAttributionLayerEventArgs) ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //args// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.DrawnAttributionLayerEventArgs|DrawnAttributionLayerEventArgs]] | ||
+ | * Description:N/A | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} OnDrawingProgressChanged(DrawingProgressChangedEventArgs) ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //e// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.DrawingProgressChangedEventArgs|DrawingProgressChangedEventArgs]] | ||
+ | * Description:N/A | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} OnRequestedDrawing(RequestedDrawingLayerEventArgs) ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //eventArgs// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.RequestedDrawingLayerEventArgs|RequestedDrawingLayerEventArgs]] | ||
+ | * Description:N/A | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} Finalize() ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Object | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ==== Public Properties ==== | ||
+ | ** {{wiki:PublicProperty.gif|}} HasBoundingBox ** | ||
+ | |||
+ | * //This property checks to see if a Layer has a BoundingBox or not. If it has no BoundingBox, it will throw an exception when you call the GetBoundingBox() and GetFullExtent() APIs. In ShapeFileFeatureLayer, we override this API and mark it as true.// | ||
+ | == Remarks == | ||
+ | * //The default implementation in the base class returns false.// | ||
+ | == Return Value == | ||
+ | * Type:Boolean | ||
+ | |||
+ | ** {{wiki:PublicProperty.gif|}} UsingSpatialIndex ** | ||
+ | |||
+ | * //This property gets whether the Shape File FeatureSource has an index or not.// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | == Return Value == | ||
+ | * Type:Boolean | ||
+ | |||
+ | ** {{wiki:PublicProperty.gif|}} Encoding ** | ||
+ | |||
+ | * //This property gets and sets the encoding information for the DBF.// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | == Return Value == | ||
+ | * Type:Encoding | ||
+ | |||
+ | ** {{wiki:PublicProperty.gif|}} ShapePathFileName ** | ||
+ | |||
+ | * //This property returns the path and filename of the Shape File you want to represent.// | ||
+ | == Remarks == | ||
+ | * //None// | ||
+ | == Return Value == | ||
+ | * Type:String | ||
+ | |||
+ | ** {{wiki:PublicProperty.gif|}} IndexPathFileName ** | ||
+ | |||
+ | * //This property returns the path and filename of the index file you want to represent.// | ||
+ | == Remarks == | ||
+ | * //None// | ||
+ | == Return Value == | ||
+ | * Type:String | ||
+ | |||
+ | ** {{wiki:PublicProperty.gif|}} ReadWriteMode ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | == Return Value == | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.ShapeFileReadWriteMode|ShapeFileReadWriteMode]] | ||
+ | |||
+ | ** {{wiki:PublicProperty.gif|}} RequireIndex ** | ||
+ | |||
+ | * //This property gets and sets whether an index is required when reading data. The default value is true.// | ||
+ | == 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.Core.RectangleShape|RectangleShape]] | ||
+ | |||
+ | ** {{wiki:PublicProperty.gif|}} WrappingMode ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | == Return Value == | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.WrappingMode|WrappingMode]] | ||
+ | |||
+ | ** {{wiki:PublicProperty.gif|}} EditTools ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | == Return Value == | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.EditTools|EditTools]] | ||
+ | |||
+ | ** {{wiki:PublicProperty.gif|}} FeatureIdsToExclude ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | == Return Value == | ||
+ | * Type:Collection<String> | ||
+ | |||
+ | ** {{wiki:PublicProperty.gif|}} QueryTools ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | == Return Value == | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.QueryTools|QueryTools]] | ||
+ | |||
+ | ** {{wiki:PublicProperty.gif|}} MaxRecordsToDraw ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | == Return Value == | ||
+ | * Type:Int32 | ||
+ | |||
+ | ** {{wiki:PublicProperty.gif|}} DrawingMarginInPixel ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | == Return Value == | ||
+ | * Type:Single | ||
+ | |||
+ | ** {{wiki:PublicProperty.gif|}} FeatureSource ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | == Return Value == | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.FeatureSource|FeatureSource]] | ||
+ | |||
+ | ** {{wiki:PublicProperty.gif|}} DrawingQuality ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | == Return Value == | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.DrawingQuality|DrawingQuality]] | ||
+ | |||
+ | ** {{wiki:PublicProperty.gif|}} ZoomLevelSet ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | == Return Value == | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.ZoomLevelSet|ZoomLevelSet]] | ||
+ | |||
+ | ** {{wiki:PublicProperty.gif|}} DrawingMarginPercentage ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | == Return Value == | ||
+ | * Type:Double | ||
+ | |||
+ | ** {{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|}} 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|}} 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|}} DrawingExceptionMode ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | == Return Value == | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.DrawingExceptionMode|DrawingExceptionMode]] | ||
+ | |||
+ | ** {{wiki:PublicProperty.gif|}} Attribution ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | == Return Value == | ||
+ | * Type:String | ||
+ | |||
+ | ** {{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 | ||
+ | |||
+ | ==== Public Events ==== | ||
+ | ** {{wiki:PublicEvent.gif|}} StreamLoading ** | ||
+ | * //This event allows you to pass in your own stream to represent the files.// | ||
+ | == 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.// | ||
- | <!-- ThinkGeo.MapSuite.PortableCore.ShapeFileFeatureLayer --> | + | Event Arguments:[[ThinkGeo.MapSuite.Core.StreamLoadingEventArgs|StreamLoadingEventArgs]] |
- | [[#Public Properties|Go Back]] | + | |
- | ==== ShapePathFileName ==== | + | |
- | This property returns the path and filename of the Shape File you want to represent. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | String<!-- System.String --> | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.ShapeFileFeatureLayer --> | + | ** {{wiki:PublicEvent.gif|}} DrawingFeatures ** |
- | [[#Public Properties|Go Back]] | + | * //N/A// |
- | ==== SimplificationAreaInPixel ==== | + | == Remarks == |
- | === Return Value === | + | * //N/A// |
- | ^ Return Type ^ | + | |
- | | Int32<!-- System.Int32 --> | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.ShapeFileFeatureLayer --> | + | Event Arguments:[[ThinkGeo.MapSuite.Core.DrawingFeaturesEventArgs|DrawingFeaturesEventArgs]] |
- | [[#Public Properties|Go Back]] | + | |
- | ==== Transparency ==== | + | |
- | This property gets and sets the amount of transparency to apply to the image. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | Single<!-- System.Single --> | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.Layer --> | + | ** {{wiki:PublicEvent.gif|}} DrawingWrappingFeatures ** |
- | [[#Public Properties|Go Back]] | + | * //N/A// |
- | ==== UsingSpatialIndex ==== | + | == Remarks == |
- | This property gets whether the Shape File FeatureSource has an index or not. | + | * //N/A// |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | Boolean<!-- System.Boolean --> | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.ShapeFileFeatureLayer --> | + | Event Arguments:[[ThinkGeo.MapSuite.Core.DrawingWrappingFeaturesFeatureLayerEventArgs|DrawingWrappingFeaturesFeatureLayerEventArgs]] |
- | [[#Public Properties|Go Back]] | + | |
- | ==== WrappingExtent ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | [[ThinkGeo.MapSuite.PortableCore.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.PortableCore.RectangleShape --> | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.FeatureLayer --> | + | ** {{wiki:PublicEvent.gif|}} DrawingException ** |
- | [[#Public Properties|Go Back]] | + | * //N/A// |
- | ==== WrappingMode ==== | + | == Remarks == |
- | Thie property gets or sets whether allow wrap date line. | + | * //N/A// |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | [[ThinkGeo.MapSuite.PortableCore.WrappingMode|WrappingMode]]<!-- ThinkGeo.MapSuite.PortableCore.WrappingMode --> | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.FeatureLayer --> | + | Event Arguments:[[ThinkGeo.MapSuite.Core.DrawingExceptionLayerEventArgs|DrawingExceptionLayerEventArgs]] |
- | [[#Public Properties|Go Back]] | + | |
- | ==== ZoomLevelSet ==== | + | |
- | This property gets and sets the ZoomLevelSet, which contains the specific zoom levels for the FeatureLayer. | + | |
- | === Remarks === | + | |
- | The ZoomLevelSet is a class that contains all of the ZoomLevels for the FeatureLayer. Each ZoomLevel contains the styles that are used to determine how to draw the InternalFeatures. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | [[ThinkGeo.MapSuite.PortableCore.ZoomLevelSet|ZoomLevelSet]]<!-- ThinkGeo.MapSuite.PortableCore.ZoomLevelSet --> | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.FeatureLayer --> | + | ** {{wiki:PublicEvent.gif|}} DrawingProgressChanged ** |
- | [[#Public Properties|Go Back]] | + | * //N/A// |
- | ===== Protected Properties ===== | + | == Remarks == |
- | ==== IsOpenCore ==== | + | * //N/A// |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | Boolean<!-- System.Boolean --> | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.Layer(overriden) --> | + | Event Arguments:[[ThinkGeo.MapSuite.Core.DrawingProgressChangedEventArgs|DrawingProgressChangedEventArgs]] |
- | [[#Protected Properties|Go Back]] | + | |
- | ===== Public Events ===== | + | |
- | ==== DrawingAttribution ==== | + | |
- | === Event Arguments === | + | |
- | ^ Event Arguments ^ | + | |
- | | [[ThinkGeo.MapSuite.PortableCore.DrawingAttributionLayerEventArgs|DrawingAttributionLayerEventArgs]]<!-- ThinkGeo.MapSuite.PortableCore.DrawingAttributionLayerEventArgs --> | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.Layer --> | + | ** {{wiki:PublicEvent.gif|}} DrawnException ** |
- | [[#Public Events|Go Back]] | + | * //N/A// |
- | ==== DrawingException ==== | + | == Remarks == |
- | === Event Arguments === | + | * //N/A// |
- | ^ Event Arguments ^ | + | |
- | | [[ThinkGeo.MapSuite.PortableCore.DrawingExceptionLayerEventArgs|DrawingExceptionLayerEventArgs]]<!-- ThinkGeo.MapSuite.PortableCore.DrawingExceptionLayerEventArgs --> | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.Layer --> | + | Event Arguments:[[ThinkGeo.MapSuite.Core.DrawnExceptionLayerEventArgs|DrawnExceptionLayerEventArgs]] |
- | [[#Public Events|Go Back]] | + | |
- | ==== DrawingFeatures ==== | + | |
- | This event is raised when features are about to be drawn in the layer. | + | |
- | === Remarks === | + | |
- | This event is raised when features are about to be drawn in the layer. In the event arguments, there is a collection of features to be drawn. You can easily add or remove items from this collection so that extra items will draw or not draw. | + | |
- | === Event Arguments === | + | |
- | ^ Event Arguments ^ | + | |
- | | [[ThinkGeo.MapSuite.PortableCore.DrawingFeaturesEventArgs|DrawingFeaturesEventArgs]]<!-- ThinkGeo.MapSuite.PortableCore.DrawingFeaturesEventArgs --> | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.FeatureLayer --> | + | ** {{wiki:PublicEvent.gif|}} DrawingAttribution ** |
- | [[#Public Events|Go Back]] | + | * //N/A// |
- | ==== DrawingProgressChanged ==== | + | == Remarks == |
- | === Event Arguments === | + | * //N/A// |
- | ^ Event Arguments ^ | + | |
- | | [[ThinkGeo.MapSuite.PortableCore.DrawingProgressChangedEventArgs|DrawingProgressChangedEventArgs]]<!-- ThinkGeo.MapSuite.PortableCore.DrawingProgressChangedEventArgs --> | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.Layer --> | + | Event Arguments:[[ThinkGeo.MapSuite.Core.DrawingAttributionLayerEventArgs|DrawingAttributionLayerEventArgs]] |
- | [[#Public Events|Go Back]] | + | |
- | ==== DrawingWrappingFeatures ==== | + | |
- | === Event Arguments === | + | |
- | ^ Event Arguments ^ | + | |
- | | [[ThinkGeo.MapSuite.PortableCore.DrawingWrappingFeaturesFeatureLayerEventArgs|DrawingWrappingFeaturesFeatureLayerEventArgs]]<!-- ThinkGeo.MapSuite.PortableCore.DrawingWrappingFeaturesFeatureLayerEventArgs --> | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.FeatureLayer --> | + | ** {{wiki:PublicEvent.gif|}} DrawnAttribution ** |
- | [[#Public Events|Go Back]] | + | * //N/A// |
- | ==== DrawnAttribution ==== | + | == Remarks == |
- | === Event Arguments === | + | * //N/A// |
- | ^ Event Arguments ^ | + | |
- | | [[ThinkGeo.MapSuite.PortableCore.DrawnAttributionLayerEventArgs|DrawnAttributionLayerEventArgs]]<!-- ThinkGeo.MapSuite.PortableCore.DrawnAttributionLayerEventArgs --> | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.Layer --> | + | Event Arguments:[[ThinkGeo.MapSuite.Core.DrawnAttributionLayerEventArgs|DrawnAttributionLayerEventArgs]] |
- | [[#Public Events|Go Back]] | + | |
- | ==== DrawnException ==== | + | |
- | === Event Arguments === | + | |
- | ^ Event Arguments ^ | + | |
- | | [[ThinkGeo.MapSuite.PortableCore.DrawnExceptionLayerEventArgs|DrawnExceptionLayerEventArgs]]<!-- ThinkGeo.MapSuite.PortableCore.DrawnExceptionLayerEventArgs --> | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.Layer --> | + | ** {{wiki:PublicEvent.gif|}} RequestedDrawing ** |
- | [[#Public Events|Go Back]] | + | * //N/A// |
- | ==== RequestedDrawing ==== | + | == Remarks == |
- | === Event Arguments === | + | * //N/A// |
- | ^ Event Arguments ^ | + | |
- | | [[ThinkGeo.MapSuite.PortableCore.RequestedDrawingLayerEventArgs|RequestedDrawingLayerEventArgs]]<!-- ThinkGeo.MapSuite.PortableCore.RequestedDrawingLayerEventArgs --> | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.Layer --> | + | Event Arguments:[[ThinkGeo.MapSuite.Core.RequestedDrawingLayerEventArgs|RequestedDrawingLayerEventArgs]] |
- | [[#Public Events|Go Back]] | + | |
- | ==== RequestingDrawing ==== | + | |
- | === Event Arguments === | + | |
- | ^ Event Arguments ^ | + | |
- | | [[ThinkGeo.MapSuite.PortableCore.RequestingDrawingLayerEventArgs|RequestingDrawingLayerEventArgs]]<!-- ThinkGeo.MapSuite.PortableCore.RequestingDrawingLayerEventArgs --> | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.Layer --> | + | ** {{wiki:PublicEvent.gif|}} RequestingDrawing ** |
- | [[#Public Events|Go Back]] | + | * //N/A// |
- | ==== StreamLoading ==== | + | == Remarks == |
- | This event allows you to pass in your own stream to represent the files. | + | * //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 === | + | |
- | ^ Event Arguments ^ | + | |
- | | [[ThinkGeo.MapSuite.PortableCore.StreamLoadingEventArgs|StreamLoadingEventArgs]]<!-- ThinkGeo.MapSuite.PortableCore.StreamLoadingEventArgs --> | | + | |
- | <!-- ThinkGeo.MapSuite.PortableCore.ShapeFileFeatureLayer --> | + | Event Arguments:[[ThinkGeo.MapSuite.Core.RequestingDrawingLayerEventArgs|RequestingDrawingLayerEventArgs]] |
- | [[#Public Events|Go Back]] | + | |
- | __NOTOC__ | ||
- | [[Category:MapSuitePortableCore]] | ||
- | [[Category:ThinkGeo.MapSuite.PortableCore]] | ||
- | [[Category:UpdateDocumentation]] | ||