User Tools

Site Tools


thinkgeo.mapsuite.core.scalebaradornmentlayer

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
thinkgeo.mapsuite.core.scalebaradornmentlayer [2015/09/21 07:51]
admin
thinkgeo.mapsuite.core.scalebaradornmentlayer [2017/03/16 21:59] (current)
Line 1: Line 1:
 ====== ThinkGeo.MapSuite.Core.ScaleBarAdornmentLayer ====== ====== ThinkGeo.MapSuite.Core.ScaleBarAdornmentLayer ======
 +
 +{{section>​upgrade_map_suite_to_10.0}}
 +
 The ScaleBarAdornmentLayer class allows you show a bar graphic on the map that displays the distance scale for the current map extent. The ScaleBarAdornmentLayer class allows you show a bar graphic on the map that displays the distance scale for the current map extent.
 ===== Inheritance Hierarchy ===== ===== Inheritance Hierarchy =====
Line 10: Line 13:
 ** {{wiki:​PublicMethod.gif|}} ScaleBarAdornmentLayer() ** ** {{wiki:​PublicMethod.gif|}} ScaleBarAdornmentLayer() **
  
-Creates a new instance of the ScaleBarAdornmentLayer class.+  * //Creates a new instance of the ScaleBarAdornmentLayer class.//
 == Remarks == == Remarks ==
-When displaying a ScaleBarAdornmentLayer,​ we need to instance a ScaleLineAdornmentLayer and add it to MapEngine. The ScaleBar will not be drawn when the CurrentExtent is outside of the world Extent(-90,​180-,​90,​-180).+  * //When displaying a ScaleBarAdornmentLayer,​ we need to instance a ScaleLineAdornmentLayer and add it to MapEngine. The ScaleBar will not be drawn when the CurrentExtent is outside of the world Extent(-90,​180-,​90,​-180).//
 == Parameters == == Parameters ==
 <div newline></​div>​ <div newline></​div>​
Line 19: Line 22:
 ** {{wiki:​PublicMethod.gif|}} GetDrawingLocation(GeoCanvas,​Single,​Single) ** ** {{wiki:​PublicMethod.gif|}} GetDrawingLocation(GeoCanvas,​Single,​Single) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 43: Line 46:
 ** {{wiki:​PublicMethod.gif|}} RequestDrawing() ** ** {{wiki:​PublicMethod.gif|}} RequestDrawing() **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 55: Line 58:
 ** {{wiki:​PublicMethod.gif|}} RequestDrawing(RectangleShape) ** ** {{wiki:​PublicMethod.gif|}} RequestDrawing(RectangleShape) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 71: Line 74:
 ** {{wiki:​PublicMethod.gif|}} RequestDrawing(IEnumerable<​RectangleShape>​) ** ** {{wiki:​PublicMethod.gif|}} RequestDrawing(IEnumerable<​RectangleShape>​) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 87: Line 90:
 ** {{wiki:​PublicMethod.gif|}} RequestDrawing(TimeSpan) ** ** {{wiki:​PublicMethod.gif|}} RequestDrawing(TimeSpan) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 103: Line 106:
 ** {{wiki:​PublicMethod.gif|}} RequestDrawing(TimeSpan,​RequestDrawingBufferTimeType) ** ** {{wiki:​PublicMethod.gif|}} RequestDrawing(TimeSpan,​RequestDrawingBufferTimeType) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 123: Line 126:
 ** {{wiki:​PublicMethod.gif|}} RequestDrawing(RectangleShape,​TimeSpan) ** ** {{wiki:​PublicMethod.gif|}} RequestDrawing(RectangleShape,​TimeSpan) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 143: Line 146:
 ** {{wiki:​PublicMethod.gif|}} RequestDrawing(RectangleShape,​TimeSpan,​RequestDrawingBufferTimeType) ** ** {{wiki:​PublicMethod.gif|}} RequestDrawing(RectangleShape,​TimeSpan,​RequestDrawingBufferTimeType) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 167: Line 170:
 ** {{wiki:​PublicMethod.gif|}} RequestDrawing(IEnumerable<​RectangleShape>,​TimeSpan) ** ** {{wiki:​PublicMethod.gif|}} RequestDrawing(IEnumerable<​RectangleShape>,​TimeSpan) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 187: Line 190:
 ** {{wiki:​PublicMethod.gif|}} RequestDrawing(IEnumerable<​RectangleShape>,​TimeSpan,​RequestDrawingBufferTimeType) ** ** {{wiki:​PublicMethod.gif|}} RequestDrawing(IEnumerable<​RectangleShape>,​TimeSpan,​RequestDrawingBufferTimeType) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 211: Line 214:
 ** {{wiki:​PublicMethod.gif|}} GetThreadSafetyLevel() ** ** {{wiki:​PublicMethod.gif|}} GetThreadSafetyLevel() **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 223: Line 226:
 ** {{wiki:​PublicMethod.gif|}} CloneDeep() ** ** {{wiki:​PublicMethod.gif|}} CloneDeep() **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 235: Line 238:
 ** {{wiki:​PublicMethod.gif|}} Open() ** ** {{wiki:​PublicMethod.gif|}} Open() **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 247: Line 250:
 ** {{wiki:​PublicMethod.gif|}} Close() ** ** {{wiki:​PublicMethod.gif|}} Close() **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 259: Line 262:
 ** {{wiki:​PublicMethod.gif|}} GetBoundingBox() ** ** {{wiki:​PublicMethod.gif|}} GetBoundingBox() **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 271: Line 274:
 ** {{wiki:​PublicMethod.gif|}} Draw(GeoCanvas,​Collection<​SimpleCandidate>​) ** ** {{wiki:​PublicMethod.gif|}} Draw(GeoCanvas,​Collection<​SimpleCandidate>​) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 291: Line 294:
 ** {{wiki:​PublicMethod.gif|}} ToString() ** ** {{wiki:​PublicMethod.gif|}} ToString() **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 303: Line 306:
 ** {{wiki:​PublicMethod.gif|}} Equals(Object) ** ** {{wiki:​PublicMethod.gif|}} Equals(Object) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 319: Line 322:
 ** {{wiki:​PublicMethod.gif|}} GetHashCode() ** ** {{wiki:​PublicMethod.gif|}} GetHashCode() **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 331: Line 334:
 ** {{wiki:​PublicMethod.gif|}} GetType() ** ** {{wiki:​PublicMethod.gif|}} GetType() **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 342: Line 345:
 <div newline></​div>​ <div newline></​div>​
 ==== Protected Methods ==== ==== Protected Methods ====
-** {{wiki:​ProtectedMethod.gif|}} ​ixk=(GeoCanvas,​GeographyUnit) **+** {{wiki:​ProtectedMethod.gif|}} ​UpdateScale(GeoCanvas,​GeographyUnit) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 364: Line 367:
 ** {{wiki:​ProtectedMethod.gif|}} DrawCore(GeoCanvas,​Collection<​SimpleCandidate>​) ** ** {{wiki:​ProtectedMethod.gif|}} DrawCore(GeoCanvas,​Collection<​SimpleCandidate>​) **
  
-This method draws the Layer.+  * //This method draws the Layer.//
 == Remarks == == Remarks ==
-This abstract method is called from the concrete public method Draw. This method draws the representation of the layer based on the extent you provided. When implementing this abstract method, consider each feature and its column data values. You can use the full power of the GeoCanvas to do the drawing. If you need column data for a feature, be sure to override the GetRequiredColumnNamesCore and add the columns you need to the collection. In many of the styles, we add properties to allow the user to specify which field they need; then, in the GetRequiredColumnNamesCore,​ we read that property and add it to the collection.+  * //This abstract method is called from the concrete public method Draw. This method draws the representation of the layer based on the extent you provided. When implementing this abstract method, consider each feature and its column data values. You can use the full power of the GeoCanvas to do the drawing. If you need column data for a feature, be sure to override the GetRequiredColumnNamesCore and add the columns you need to the collection. In many of the styles, we add properties to allow the user to specify which field they need; then, in the GetRequiredColumnNamesCore,​ we read that property and add it to the collection.//
  
 == Return Value == == Return Value ==
Line 384: Line 387:
 ** {{wiki:​ProtectedMethod.gif|}} OnRequestedDrawing(RequestedDrawingLayerEventArgs) ** ** {{wiki:​ProtectedMethod.gif|}} OnRequestedDrawing(RequestedDrawingLayerEventArgs) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 400: Line 403:
 ** {{wiki:​ProtectedMethod.gif|}} OnRequestingDrawing(RequestingDrawingLayerEventArgs) ** ** {{wiki:​ProtectedMethod.gif|}} OnRequestingDrawing(RequestingDrawingLayerEventArgs) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 416: Line 419:
 ** {{wiki:​ProtectedMethod.gif|}} GetThreadSafetyLevelCore() ** ** {{wiki:​ProtectedMethod.gif|}} GetThreadSafetyLevelCore() **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 428: Line 431:
 ** {{wiki:​ProtectedMethod.gif|}} CloneDeepCore() ** ** {{wiki:​ProtectedMethod.gif|}} CloneDeepCore() **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 440: Line 443:
 ** {{wiki:​ProtectedMethod.gif|}} OpenCore() ** ** {{wiki:​ProtectedMethod.gif|}} OpenCore() **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 452: Line 455:
 ** {{wiki:​ProtectedMethod.gif|}} CloseCore() ** ** {{wiki:​ProtectedMethod.gif|}} CloseCore() **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 464: Line 467:
 ** {{wiki:​ProtectedMethod.gif|}} GetBoundingBoxCore() ** ** {{wiki:​ProtectedMethod.gif|}} GetBoundingBoxCore() **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 476: Line 479:
 ** {{wiki:​ProtectedMethod.gif|}} DrawException(GeoCanvas,​Exception) ** ** {{wiki:​ProtectedMethod.gif|}} DrawException(GeoCanvas,​Exception) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 496: Line 499:
 ** {{wiki:​ProtectedMethod.gif|}} DrawExceptionCore(GeoCanvas,​Exception) ** ** {{wiki:​ProtectedMethod.gif|}} DrawExceptionCore(GeoCanvas,​Exception) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 516: Line 519:
 ** {{wiki:​ProtectedMethod.gif|}} OnDrawingException(DrawingExceptionLayerEventArgs) ** ** {{wiki:​ProtectedMethod.gif|}} OnDrawingException(DrawingExceptionLayerEventArgs) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 532: Line 535:
 ** {{wiki:​ProtectedMethod.gif|}} OnDrawnException(DrawnExceptionLayerEventArgs) ** ** {{wiki:​ProtectedMethod.gif|}} OnDrawnException(DrawnExceptionLayerEventArgs) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 548: Line 551:
 ** {{wiki:​ProtectedMethod.gif|}} DrawAttributionCore(GeoCanvas,​String) ** ** {{wiki:​ProtectedMethod.gif|}} DrawAttributionCore(GeoCanvas,​String) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 568: Line 571:
 ** {{wiki:​ProtectedMethod.gif|}} OnDrawingAttribution(DrawingAttributionLayerEventArgs) ** ** {{wiki:​ProtectedMethod.gif|}} OnDrawingAttribution(DrawingAttributionLayerEventArgs) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 584: Line 587:
 ** {{wiki:​ProtectedMethod.gif|}} OnDrawnAttribution(DrawnAttributionLayerEventArgs) ** ** {{wiki:​ProtectedMethod.gif|}} OnDrawnAttribution(DrawnAttributionLayerEventArgs) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 600: Line 603:
 ** {{wiki:​ProtectedMethod.gif|}} OnDrawingProgressChanged(DrawingProgressChangedEventArgs) ** ** {{wiki:​ProtectedMethod.gif|}} OnDrawingProgressChanged(DrawingProgressChangedEventArgs) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 616: Line 619:
 ** {{wiki:​ProtectedMethod.gif|}} Finalize() ** ** {{wiki:​ProtectedMethod.gif|}} Finalize() **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 628: Line 631:
 ** {{wiki:​ProtectedMethod.gif|}} MemberwiseClone() ** ** {{wiki:​ProtectedMethod.gif|}} MemberwiseClone() **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 904: Line 907:
  
 ==== Protected Properties ==== ==== Protected Properties ====
-** {{wiki:​ProtectedProperty.gif|}} ​iBk= **+** {{wiki:​ProtectedProperty.gif|}} ​ActualWidth ​**
  
 N/A N/A
thinkgeo.mapsuite.core.scalebaradornmentlayer.1442821912.txt.gz ยท Last modified: 2015/09/21 07:51 by admin