User Tools

Site Tools


thinkgeo.mapsuite.core.scalelineadornmentlayer

This is an old revision of the document!


Table of Contents

ThinkGeo.MapSuite.Core.ScaleLineAdornmentLayer

The ScaleLineAdornmentLayer is a concrete class inherited from AdornmentLayer. The ScaleLineAdornmentLayer class allows you show a ScaleLine graphic on the map.

Inheritance Hierarchy

  • System.Object
    • ThinkGeo.MapSuite.Core.Layer
      • ThinkGeo.MapSuite.Core.AdornmentLayer
        • ThinkGeo.MapSuite.Core.ScaleLineAdornmentLayer

Members Summary

Public Constructors

ScaleLineAdornmentLayer

  • Parameters:N/A
  • DeclaringType:N/A
  • Summary:Creates a new instance of the ScaleLineAdornmentLayer class. The default location of this ScaleLineAdornmentLayer is the lower left corner of the CurrentExtent of the map.

ScaleLineAdornmentLayer

  • Parameters:ScreenPointF
  • DeclaringType:N/A
  • Summary:Creates a new instance of the ScaleLineAdornmentLayer class by passing in the specified ScreenPoint, which will be the start position of this ScaleLineAdornmentLayer when it is shown on the map.

ScaleLineAdornmentLayer

  • Parameters:AdornmentLocation
  • DeclaringType:N/A
  • Summary:Creates a new instance of the ScaleLineAdornmentLayer class by passing in the specified enumeration of the AdornmentLocation that will be used to set the start position of this ScaleLineAdornmentLayer when it is shown on the map.

Protected Constructors

Public Methods

CloneDeep

  • Parameters:N/A
  • DeclaringType:Layer
  • Summary:N/A

Close

  • Parameters:N/A
  • DeclaringType:Layer
  • Summary:N/A

Draw

Equals

  • Parameters:Object
  • DeclaringType:Object
  • Summary:N/A

GetBoundingBox

  • Parameters:N/A
  • DeclaringType:Layer
  • Summary:N/A

GetDrawingLocation

GetHashCode

  • Parameters:N/A
  • DeclaringType:Object
  • Summary:N/A

GetThreadSafetyLevel

  • Parameters:N/A
  • DeclaringType:Layer
  • Summary:N/A

GetType

  • Parameters:N/A
  • DeclaringType:Object
  • Summary:N/A

Open

  • Parameters:N/A
  • DeclaringType:Layer
  • Summary:N/A

RequestDrawing

RequestDrawing

RequestDrawing

RequestDrawing

  • Parameters:TimeSpan
  • DeclaringType:Layer
  • Summary:N/A

RequestDrawing

RequestDrawing

RequestDrawing

  • Parameters:N/A
  • DeclaringType:Layer
  • Summary:N/A

RequestDrawing

RequestDrawing

ToString

  • Parameters:N/A
  • DeclaringType:Object
  • Summary:N/A

Protected Methods

CloneDeepCore

  • Parameters:N/A
  • DeclaringType:Layer
  • Summary:N/A

CloseCore

  • Parameters:N/A
  • DeclaringType:Layer
  • Summary:N/A

DrawAttributionCore

DrawCore

DrawException

DrawExceptionCore

Finalize

  • Parameters:N/A
  • DeclaringType:Object
  • Summary:N/A

GetBoundingBoxCore

  • Parameters:N/A
  • DeclaringType:Layer
  • Summary:N/A

GetThreadSafetyLevelCore

  • Parameters:N/A
  • DeclaringType:Layer
  • Summary:N/A

MemberwiseClone

  • Parameters:N/A
  • DeclaringType:Object
  • Summary:N/A

OnDrawingAttribution

OnDrawingException

OnDrawingProgressChanged

OnDrawnAttribution

OnDrawnException

OnRequestedDrawing

OnRequestingDrawing

OpenCore

  • Parameters:N/A
  • DeclaringType:Layer
  • Summary:N/A

Public Properties

Attribution

  • Return:String
  • Summary:N/A

BackgroundMask

BlueTranslation

  • Return:Single
  • Summary:N/A

DisplayUnitString

  • Return:Dictionary<String,String>
  • Summary:This propery is a dictionary that exposes what text will be drawn to represent the ScaleLine Unit.

DrawingExceptionMode

DrawingTime

  • Return:TimeSpan
  • Summary:N/A

GreenTranslation

  • Return:Single
  • Summary:N/A

HaloPen

HasBoundingBox

  • Return:Boolean
  • Summary:N/A

Height

  • Return:Single
  • Summary:N/A

IsGrayscale

  • Return:Boolean
  • Summary:N/A

IsNegative

  • Return:Boolean
  • Summary:N/A

IsOpen

  • Return:Boolean
  • Summary:N/A

IsVisible

  • Return:Boolean
  • Summary:N/A

KeyColors

  • Return:Collection<GeoColor>
  • Summary:N/A

Location

Name

  • Return:String
  • Summary:N/A

Pen

ProjectionToDecimalDegrees

  • Return:Projection
  • Summary:Gets or sets a Proj4 projection parameter string which shows what coordinate system the map is using.

RedTranslation

  • Return:Single
  • Summary:N/A

RequestDrawingInterval

  • Return:TimeSpan
  • Summary:N/A

TextStyle

Transparency

  • Return:Single
  • Summary:N/A

UnitSystem

Width

  • Return:Single
  • Summary:N/A

XOffsetInPixel

  • Return:Single
  • Summary:N/A

YOffsetInPixel

  • Return:Single
  • Summary:N/A

Protected Properties

IsOpenCore

  • Return:Boolean
  • Summary:N/A

iBk=

  • Return:Single
  • Summary:N/A

Public Events

Public Constructors

ScaleLineAdornmentLayer()

Creates a new instance of the ScaleLineAdornmentLayer class. The default location of this ScaleLineAdornmentLayer is the lower left corner of the CurrentExtent of the map.

Remarks

N/A

Parameters

ScaleLineAdornmentLayer(ScreenPointF)

Creates a new instance of the ScaleLineAdornmentLayer class by passing in the specified ScreenPoint, which will be the start position of this ScaleLineAdornmentLayer when it is shown on the map.

Remarks

N/A

Parameters

startPoint

  • Description:The start position of the ScaleLineAdornmentLayer that will be shown on the Map. Go Back === ScaleLineAdornmentLayer(AdornmentLocation) === Creates a new instance of the ScaleLineAdornmentLayer class by passing in the specified enumeration of the AdornmentLocation that will be used to set the start position of this ScaleLineAdornmentLayer when it is shown on the map. ==== Remarks ==== N/A ==== Parameters ==== location * Type:AdornmentLocation * Description:This parameter specifies the location of the start point of the ScaleLineAdornmentLayer.

Go Back

Protected Constructors

Public Methods

CloneDeep()

N/A

Remarks

N/A

Return Value

  • Return Type:Layer
  • Description:N/A

Parameters

Close()

N/A

Remarks

N/A

Return Value

  • Return Type:Void
  • Description:N/A

Parameters

Draw(GeoCanvas,Collection<SimpleCandidate>)

N/A

Remarks

N/A

Return Value

  • Return Type:Void
  • Description:N/A

Parameters

canvas

labelsInAllLayers

Go Back

Equals(Object)

N/A

Remarks

N/A

Return Value

  • Return Type:Boolean
  • Description:N/A

Parameters

obj

  • Type:Object
  • Description:N/A

Go Back

GetBoundingBox()

N/A

Remarks

N/A

Return Value

Parameters

GetDrawingLocation(GeoCanvas,Single,Single)

N/A

Remarks

N/A

Return Value

Parameters

canvas

adornmentWidth

  • Type:Single
  • Description:N/A

adornmentHeight

  • Type:Single
  • Description:N/A

Go Back

GetHashCode()

N/A

Remarks

N/A

Return Value

  • Return Type:Int32
  • Description:N/A

Parameters

GetThreadSafetyLevel()

N/A

Remarks

N/A

Return Value

Parameters

GetType()

N/A

Remarks

N/A

Return Value

  • Return Type:Type
  • Description:N/A

Parameters

Open()

N/A

Remarks

N/A

Return Value

  • Return Type:Void
  • Description:N/A

Parameters

RequestDrawing(RectangleShape,TimeSpan,RequestDrawingBufferTimeType)

N/A

Remarks

N/A

Return Value

  • Return Type:Void
  • Description:N/A

Parameters

extentToRefresh

bufferTime

  • Type:TimeSpan
  • Description:N/A

bufferTimeType

Go Back

RequestDrawing(RectangleShape,TimeSpan)

N/A

Remarks

N/A

Return Value

  • Return Type:Void
  • Description:N/A

Parameters

extentToRefresh

bufferTime

  • Type:TimeSpan
  • Description:N/A

Go Back

RequestDrawing(TimeSpan,RequestDrawingBufferTimeType)

N/A

Remarks

N/A

Return Value

  • Return Type:Void
  • Description:N/A

Parameters

bufferTime

  • Type:TimeSpan
  • Description:N/A

bufferTimeType

Go Back

RequestDrawing(TimeSpan)

N/A

Remarks

N/A

Return Value

  • Return Type:Void
  • Description:N/A

Parameters

bufferTime

  • Type:TimeSpan
  • Description:N/A

Go Back

RequestDrawing(IEnumerable<RectangleShape>)

N/A

Remarks

N/A

Return Value

  • Return Type:Void
  • Description:N/A

Parameters

extentsToRefresh

Go Back

RequestDrawing(RectangleShape)

N/A

Remarks

N/A

Return Value

  • Return Type:Void
  • Description:N/A

Parameters

extentToRefresh

Go Back

RequestDrawing()

N/A

Remarks

N/A

Return Value

  • Return Type:Void
  • Description:N/A

Parameters

RequestDrawing(IEnumerable<RectangleShape>,TimeSpan)

N/A

Remarks

N/A

Return Value

  • Return Type:Void
  • Description:N/A

Parameters

extentsToRefresh

bufferTime

  • Type:TimeSpan
  • Description:N/A

Go Back

RequestDrawing(IEnumerable<RectangleShape>,TimeSpan,RequestDrawingBufferTimeType)

N/A

Remarks

N/A

Return Value

  • Return Type:Void
  • Description:N/A

Parameters

extentsToRefresh

bufferTime

  • Type:TimeSpan
  • Description:N/A

bufferTimeType

Go Back

ToString()

N/A

Remarks

N/A

Return Value

  • Return Type:String
  • Description:N/A

Parameters

Protected Methods

CloneDeepCore()

N/A

Remarks

N/A

Return Value

  • Return Type:Layer
  • Description:N/A

Parameters

CloseCore()

N/A

Remarks

N/A

Return Value

  • Return Type:Void
  • Description:N/A

Parameters

DrawAttributionCore(GeoCanvas,String)

N/A

Remarks

N/A

Return Value

  • Return Type:Void
  • Description:N/A

Parameters

canvas

attribution

  • Type:String
  • Description:N/A

Go Back

DrawCore(GeoCanvas,Collection<SimpleCandidate>)

This method draws the Layer.

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.

Return Value

  • Return Type:Void
  • Description:None

Parameters

canvas

  • Type:GeoCanvas
  • Description:This parameter is the canvas object or a GeoImage to draw on.

labelsInAllLayers

  • Type:Collection<SimpleCandidate>
  • Description:This parameter represents the labels used for collision detection and duplication checking.

Go Back

DrawException(GeoCanvas,Exception)

N/A

Remarks

N/A

Return Value

  • Return Type:Void
  • Description:N/A

Parameters

canvas

e

  • Type:Exception
  • Description:N/A

Go Back

DrawExceptionCore(GeoCanvas,Exception)

N/A

Remarks

N/A

Return Value

  • Return Type:Void
  • Description:N/A

Parameters

canvas

e

  • Type:Exception
  • Description:N/A

Go Back

Finalize()

N/A

Remarks

N/A

Return Value

  • Return Type:Void
  • Description:N/A

Parameters

GetBoundingBoxCore()

N/A

Remarks

N/A

Return Value

Parameters

GetThreadSafetyLevelCore()

N/A

Remarks

N/A

Return Value

Parameters

MemberwiseClone()

N/A

Remarks

N/A

Return Value

  • Return Type:Object
  • Description:N/A

Parameters

OnDrawingAttribution(DrawingAttributionLayerEventArgs)

N/A

Remarks

N/A

Return Value

  • Return Type:Void
  • Description:N/A

Parameters

args

Go Back

OnDrawingException(DrawingExceptionLayerEventArgs)

N/A

Remarks

N/A

Return Value

  • Return Type:Void
  • Description:N/A

Parameters

e

Go Back

OnDrawingProgressChanged(DrawingProgressChangedEventArgs)

N/A

Remarks

N/A

Return Value

  • Return Type:Void
  • Description:N/A

Parameters

e

Go Back

OnDrawnAttribution(DrawnAttributionLayerEventArgs)

N/A

Remarks

N/A

Return Value

  • Return Type:Void
  • Description:N/A

Parameters

args

Go Back

OnDrawnException(DrawnExceptionLayerEventArgs)

N/A

Remarks

N/A

Return Value

  • Return Type:Void
  • Description:N/A

Parameters

e

Go Back

OnRequestedDrawing(RequestedDrawingLayerEventArgs)

N/A

Remarks

N/A

Return Value

  • Return Type:Void
  • Description:N/A

Parameters

eventArgs

Go Back

OnRequestingDrawing(RequestingDrawingLayerEventArgs)

N/A

Remarks

N/A

Return Value

  • Return Type:Void
  • Description:N/A

Parameters

eventArgs

Go Back

OpenCore()

N/A

Remarks

N/A

Return Value

  • Return Type:Void
  • Description:N/A

Parameters

Public Properties

Attribution

N/A

Remarks

N/A

Return Value

Return Type:String

Go Back

BackgroundMask

N/A

Remarks

N/A

Return Value

Return Type:AreaStyle

Go Back

BlueTranslation

N/A

Remarks

N/A

Return Value

Return Type:Single

Go Back

DisplayUnitString

This propery is a dictionary that exposes what text will be drawn to represent the ScaleLine Unit.

Remarks

We will display different letters for different units of measure; for example: “m” for meters, “ft” for feet, etc.

Return Value

Return Type:Dictionary<String,String>

Go Back

DrawingExceptionMode

N/A

Remarks

N/A

Return Value

DrawingTime

N/A

Remarks

N/A

Return Value

Return Type:TimeSpan

Go Back

GreenTranslation

N/A

Remarks

N/A

Return Value

Return Type:Single

Go Back

HaloPen

N/A

Remarks

N/A

Return Value

Return Type:GeoPen

Go Back

HasBoundingBox

N/A

Remarks

N/A

Return Value

Return Type:Boolean

Go Back

Height

N/A

Remarks

N/A

Return Value

Return Type:Single

Go Back

IsGrayscale

N/A

Remarks

N/A

Return Value

Return Type:Boolean

Go Back

IsNegative

N/A

Remarks

N/A

Return Value

Return Type:Boolean

Go Back

IsOpen

N/A

Remarks

N/A

Return Value

Return Type:Boolean

Go Back

IsVisible

N/A

Remarks

N/A

Return Value

Return Type:Boolean

Go Back

KeyColors

N/A

Remarks

N/A

Return Value

Return Type:Collection<GeoColor>

Go Back

Location

N/A

Remarks

N/A

Return Value

Name

N/A

Remarks

N/A

Return Value

Return Type:String

Go Back

Pen

N/A

Remarks

N/A

Return Value

Return Type:GeoPen

Go Back

ProjectionToDecimalDegrees

Gets or sets a Proj4 projection parameter string which shows what coordinate system the map is using.

Remarks

N/A

Return Value

Return Type:Projection

Go Back

RedTranslation

N/A

Remarks

N/A

Return Value

Return Type:Single

Go Back

RequestDrawingInterval

N/A

Remarks

N/A

Return Value

Return Type:TimeSpan

Go Back

TextStyle

N/A

Remarks

N/A

Return Value

Return Type:TextStyle

Go Back

Transparency

N/A

Remarks

N/A

Return Value

Return Type:Single

Go Back

UnitSystem

Gets or sets the UnitSystem to be used for the ScaleLine.

Remarks

By setting this property, you can set the top and button unit for the ScaleLine.

Return Value

Width

N/A

Remarks

N/A

Return Value

Return Type:Single

Go Back

XOffsetInPixel

N/A

Remarks

N/A

Return Value

Return Type:Single

Go Back

YOffsetInPixel

N/A

Remarks

N/A

Return Value

Return Type:Single

Go Back

Protected Properties

IsOpenCore

N/A

Remarks

N/A

Return Value

Return Type:Boolean

Go Back

iBk=

N/A

Remarks

N/A

Return Value

Return Type:Single

Go Back

Public Events

DrawingAttribution

N/A

Remarks

DrawingException

N/A

Remarks

DrawingProgressChanged

N/A

Remarks

DrawnAttribution

N/A

Remarks

DrawnException

N/A

Remarks

RequestedDrawing

N/A

Remarks

RequestingDrawing

N/A

Remarks

thinkgeo.mapsuite.core.scalelineadornmentlayer.1442486356.txt.gz · Last modified: 2015/09/17 10:39 by admin