Skip to content

MagneticDeclinationAdornmentLayer

Inheritance Hierarchy

Members Summary

Public Constructors Summary

Name
MagneticDeclinationAdornmentLayer()
MagneticDeclinationAdornmentLayer(ScreenPointF)
MagneticDeclinationAdornmentLayer(AdornmentLocation)
MagneticDeclinationAdornmentLayer(String,AdornmentLocation)

Protected Constructors Summary

Name
N/A

Public Properties Summary

Name Return Type Description
Attribution String N/A
Background GeoColor N/A
BackgroundMask AreaStyle N/A
BlueTranslation Single N/A
ColorMappings Dictionary<GeoColor,GeoColor> N/A
DrawingExceptionMode DrawingExceptionMode N/A
DrawingTime TimeSpan N/A
Elevation Double N/A
ElevationUnit DistanceUnit N/A
GreenTranslation Single N/A
GridNorthLineStyle LineStyle N/A
HasBoundingBox Boolean N/A
Height Single N/A
IsGrayscale Boolean N/A
IsNegative Boolean N/A
IsOpen Boolean N/A
IsVisible Boolean N/A
KeyColors Collection<GeoColor> N/A
Location AdornmentLocation N/A
MagneticFieldPathFilename String International Geomagnetic Reference Field (IGRF-11)
MagneticNorthLineStyle LineStyle N/A
Name String N/A
Projection Projection N/A
RedTranslation Single N/A
RequestDrawingInterval TimeSpan N/A
SampleDateTime DateTime N/A
TextStyle TextStyle N/A
ThreadSafe ThreadSafetyLevel N/A
Transparency Single N/A
TrueNorthLineStyle LineStyle N/A
TrueNorthPointStyle PointStyle N/A
Width Single N/A
XOffsetInPixel Single N/A
YOffsetInPixel Single N/A

Protected Properties Summary

Name Return Type Description
ActualWidth Single N/A
IsOpenCore Boolean N/A

Public Methods Summary

Name
CloneDeep()
Close()
Draw(GeoCanvas,Collection<SimpleCandidate>)
Equals(Object)
GetBoundingBox()
GetDrawingLocation(GeoCanvas,Single,Single)
GetHashCode()
GetMagneticDeclination(Feature,Double,DistanceUnit,DateTime)
GetMagneticDeclination(Feature,Double,DistanceUnit,DateTime,String)
GetMagneticDeclination(Feature,Double,DistanceUnit,DateTime,Stream)
GetMagneticDeclination(PointShape,Double,DistanceUnit,DateTime)
GetMagneticDeclination(PointShape,Double,DistanceUnit,DateTime,String)
GetMagneticDeclination(PointShape,Double,DistanceUnit,DateTime,Stream)
GetMagneticDeclination(Double,Double,Double,DistanceUnit,DateTime)
GetMagneticDeclination(Double,Double,Double,DistanceUnit,DateTime,String)
GetMagneticDeclination(Double,Double,Double,DistanceUnit,DateTime,Stream)
GetType()
Open()
RequestDrawing()
RequestDrawing(RectangleShape)
RequestDrawing(IEnumerable<RectangleShape>)
RequestDrawing(TimeSpan)
RequestDrawing(TimeSpan,RequestDrawingBufferTimeType)
RequestDrawing(RectangleShape,TimeSpan)
RequestDrawing(RectangleShape,TimeSpan,RequestDrawingBufferTimeType)
RequestDrawing(IEnumerable<RectangleShape>,TimeSpan)
RequestDrawing(IEnumerable<RectangleShape>,TimeSpan,RequestDrawingBufferTimeType)
ToString()

Protected Methods Summary

Name
CloneDeepCore()
CloseCore()
DrawAttributionCore(GeoCanvas,String)
DrawCore(GeoCanvas,Collection<SimpleCandidate>)
DrawException(GeoCanvas,Exception)
DrawExceptionCore(GeoCanvas,Exception)
Finalize()
GetBoundingBoxCore()
MemberwiseClone()
OnDrawingAttribution(DrawingAttributionLayerEventArgs)
OnDrawingException(DrawingExceptionLayerEventArgs)
OnDrawingProgressChanged(DrawingProgressChangedEventArgs)
OnDrawnAttribution(DrawnAttributionLayerEventArgs)
OnDrawnException(DrawnExceptionLayerEventArgs)
OnRequestedDrawing(RequestedDrawingLayerEventArgs)
OnRequestingDrawing(RequestingDrawingLayerEventArgs)
OnStreamLoading(StreamLoadingEventArgs)
OpenCore()

Public Events Summary

Name Event Arguments Description
StreamLoading StreamLoadingEventArgs N/A
DrawingProgressChanged DrawingProgressChangedEventArgs N/A
DrawingException DrawingExceptionLayerEventArgs N/A
DrawnException DrawnExceptionLayerEventArgs N/A
DrawingAttribution DrawingAttributionLayerEventArgs N/A
DrawnAttribution DrawnAttributionLayerEventArgs N/A
RequestedDrawing RequestedDrawingLayerEventArgs N/A
RequestingDrawing RequestingDrawingLayerEventArgs N/A

Members Detail

Public Constructors

Name
MagneticDeclinationAdornmentLayer()
MagneticDeclinationAdornmentLayer(ScreenPointF)
MagneticDeclinationAdornmentLayer(AdornmentLocation)
MagneticDeclinationAdornmentLayer(String,AdornmentLocation)

Protected Constructors

Public Properties

Attribution

Summary

N/A

Remarks

N/A

Return Value

String


Background

Summary

N/A

Remarks

N/A

Return Value

GeoColor


BackgroundMask

Summary

N/A

Remarks

N/A

Return Value

AreaStyle


BlueTranslation

Summary

N/A

Remarks

N/A

Return Value

Single


ColorMappings

Summary

N/A

Remarks

N/A

Return Value

Dictionary<GeoColor,GeoColor>


DrawingExceptionMode

Summary

N/A

Remarks

N/A

Return Value

DrawingExceptionMode


DrawingTime

Summary

N/A

Remarks

N/A

Return Value

TimeSpan


Elevation

Summary

N/A

Remarks

N/A

Return Value

Double


ElevationUnit

Summary

N/A

Remarks

N/A

Return Value

DistanceUnit


GreenTranslation

Summary

N/A

Remarks

N/A

Return Value

Single


GridNorthLineStyle

Summary

N/A

Remarks

N/A

Return Value

LineStyle


HasBoundingBox

Summary

N/A

Remarks

N/A

Return Value

Boolean


Height

Summary

N/A

Remarks

N/A

Return Value

Single


IsGrayscale

Summary

N/A

Remarks

N/A

Return Value

Boolean


IsNegative

Summary

N/A

Remarks

N/A

Return Value

Boolean


IsOpen

Summary

N/A

Remarks

N/A

Return Value

Boolean


IsVisible

Summary

N/A

Remarks

N/A

Return Value

Boolean


KeyColors

Summary

N/A

Remarks

N/A

Return Value

Collection<GeoColor>


Location

Summary

N/A

Remarks

N/A

Return Value

AdornmentLocation


MagneticFieldPathFilename

Summary

International Geomagnetic Reference Field (IGRF-11)

Remarks

N/A

Return Value

String


MagneticNorthLineStyle

Summary

N/A

Remarks

N/A

Return Value

LineStyle


Name

Summary

N/A

Remarks

N/A

Return Value

String


Projection

Summary

N/A

Remarks

N/A

Return Value

Projection


RedTranslation

Summary

N/A

Remarks

N/A

Return Value

Single


RequestDrawingInterval

Summary

N/A

Remarks

N/A

Return Value

TimeSpan


SampleDateTime

Summary

N/A

Remarks

N/A

Return Value

DateTime


TextStyle

Summary

N/A

Remarks

N/A

Return Value

TextStyle


ThreadSafe

Summary

N/A

Remarks

N/A

Return Value

ThreadSafetyLevel


Transparency

Summary

N/A

Remarks

N/A

Return Value

Single


TrueNorthLineStyle

Summary

N/A

Remarks

N/A

Return Value

LineStyle


TrueNorthPointStyle

Summary

N/A

Remarks

N/A

Return Value

PointStyle


Width

Summary

N/A

Remarks

N/A

Return Value

Single


XOffsetInPixel

Summary

N/A

Remarks

N/A

Return Value

Single


YOffsetInPixel

Summary

N/A

Remarks

N/A

Return Value

Single


Protected Properties

ActualWidth

Summary

N/A

Remarks

N/A

Return Value

Single


IsOpenCore

Summary

N/A

Remarks

N/A

Return Value

Boolean


Public Methods

CloneDeep()

Summary

N/A

Remarks

N/A

Return Value

Type Description
Layer N/A

Parameters

Name Type Description
N/A N/A N/A

Close()

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
N/A N/A N/A

Draw(GeoCanvas,Collection<SimpleCandidate>)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
canvas GeoCanvas N/A
labelsInAllLayers Collection<SimpleCandidate> N/A

Equals(Object)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Boolean N/A

Parameters

Name Type Description
obj Object N/A

GetBoundingBox()

Summary

N/A

Remarks

N/A

Return Value

Type Description
RectangleShape N/A

Parameters

Name Type Description
N/A N/A N/A

GetDrawingLocation(GeoCanvas,Single,Single)

Summary

N/A

Remarks

N/A

Return Value

Type Description
ScreenPointF N/A

Parameters

Name Type Description
canvas GeoCanvas N/A
adornmentWidth Single N/A
adornmentHeight Single N/A

GetHashCode()

Summary

N/A

Remarks

N/A

Return Value

Type Description
Int32 N/A

Parameters

Name Type Description
N/A N/A N/A

GetMagneticDeclination(Feature,Double,DistanceUnit,DateTime)

Summary

N/A

Remarks

N/A

Return Value

Type Description
MagneticDeclination N/A

Parameters

Name Type Description
pointFeature Feature N/A
elevation Double N/A
elevationUnit DistanceUnit N/A
sampleDateTime DateTime N/A

GetMagneticDeclination(Feature,Double,DistanceUnit,DateTime,String)

Summary

N/A

Remarks

N/A

Return Value

Type Description
MagneticDeclination N/A

Parameters

Name Type Description
pointFeature Feature N/A
elevation Double N/A
elevationUnit DistanceUnit N/A
sampleDateTime DateTime N/A
magneticFieldPathFilename String N/A

GetMagneticDeclination(Feature,Double,DistanceUnit,DateTime,Stream)

Summary

N/A

Remarks

N/A

Return Value

Type Description
MagneticDeclination N/A

Parameters

Name Type Description
pointFeature Feature N/A
elevation Double N/A
elevationUnit DistanceUnit N/A
sampleDateTime DateTime N/A
magneticFieldStream Stream N/A

GetMagneticDeclination(PointShape,Double,DistanceUnit,DateTime)

Summary

N/A

Remarks

N/A

Return Value

Type Description
MagneticDeclination N/A

Parameters

Name Type Description
point PointShape N/A
elevation Double N/A
elevationUnit DistanceUnit N/A
sampleDateTime DateTime N/A

GetMagneticDeclination(PointShape,Double,DistanceUnit,DateTime,String)

Summary

N/A

Remarks

N/A

Return Value

Type Description
MagneticDeclination N/A

Parameters

Name Type Description
point PointShape N/A
elevation Double N/A
elevationUnit DistanceUnit N/A
sampleDateTime DateTime N/A
magneticFieldPathFilename String N/A

GetMagneticDeclination(PointShape,Double,DistanceUnit,DateTime,Stream)

Summary

N/A

Remarks

N/A

Return Value

Type Description
MagneticDeclination N/A

Parameters

Name Type Description
point PointShape N/A
elevation Double N/A
elevationUnit DistanceUnit N/A
sampleDateTime DateTime N/A
magneticFieldStream Stream N/A

GetMagneticDeclination(Double,Double,Double,DistanceUnit,DateTime)

Summary

N/A

Remarks

N/A

Return Value

Type Description
MagneticDeclination N/A

Parameters

Name Type Description
x Double N/A
y Double N/A
elevation Double N/A
elevationUnit DistanceUnit N/A
sampleDateTime DateTime N/A

GetMagneticDeclination(Double,Double,Double,DistanceUnit,DateTime,String)

Summary

N/A

Remarks

N/A

Return Value

Type Description
MagneticDeclination N/A

Parameters

Name Type Description
x Double N/A
y Double N/A
elevation Double N/A
elevationUnit DistanceUnit N/A
sampleDateTime DateTime N/A
magneticFieldPathFilename String N/A

GetMagneticDeclination(Double,Double,Double,DistanceUnit,DateTime,Stream)

Summary

N/A

Remarks

N/A

Return Value

Type Description
MagneticDeclination N/A

Parameters

Name Type Description
x Double N/A
y Double N/A
elevation Double N/A
elevationUnit DistanceUnit N/A
sampleDateTime DateTime N/A
magneticFieldStream Stream N/A

GetType()

Summary

N/A

Remarks

N/A

Return Value

Type Description
Type N/A

Parameters

Name Type Description
N/A N/A N/A

Open()

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
N/A N/A N/A

RequestDrawing()

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
N/A N/A N/A

RequestDrawing(RectangleShape)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
extentToRefresh RectangleShape N/A

RequestDrawing(IEnumerable<RectangleShape>)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
extentsToRefresh IEnumerable<RectangleShape> N/A

RequestDrawing(TimeSpan)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
bufferTime TimeSpan N/A

RequestDrawing(TimeSpan,RequestDrawingBufferTimeType)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
bufferTime TimeSpan N/A
bufferTimeType RequestDrawingBufferTimeType N/A

RequestDrawing(RectangleShape,TimeSpan)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
extentToRefresh RectangleShape N/A
bufferTime TimeSpan N/A

RequestDrawing(RectangleShape,TimeSpan,RequestDrawingBufferTimeType)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
extentToRefresh RectangleShape N/A
bufferTime TimeSpan N/A
bufferTimeType RequestDrawingBufferTimeType N/A

RequestDrawing(IEnumerable<RectangleShape>,TimeSpan)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
extentsToRefresh IEnumerable<RectangleShape> N/A
bufferTime TimeSpan N/A

RequestDrawing(IEnumerable<RectangleShape>,TimeSpan,RequestDrawingBufferTimeType)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
extentsToRefresh IEnumerable<RectangleShape> N/A
bufferTime TimeSpan N/A
bufferTimeType RequestDrawingBufferTimeType N/A

ToString()

Summary

N/A

Remarks

N/A

Return Value

Type Description
String N/A

Parameters

Name Type Description
N/A N/A N/A

Protected Methods

CloneDeepCore()

Summary

N/A

Remarks

N/A

Return Value

Type Description
Layer N/A

Parameters

Name Type Description
N/A N/A N/A

CloseCore()

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
N/A N/A N/A

DrawAttributionCore(GeoCanvas,String)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
canvas GeoCanvas N/A
attribution String N/A

DrawCore(GeoCanvas,Collection<SimpleCandidate>)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
canvas GeoCanvas N/A
labelsInAllLayers Collection<SimpleCandidate> N/A

DrawException(GeoCanvas,Exception)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
canvas GeoCanvas N/A
e Exception N/A

DrawExceptionCore(GeoCanvas,Exception)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
canvas GeoCanvas N/A
e Exception N/A

Finalize()

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
N/A N/A N/A

GetBoundingBoxCore()

Summary

N/A

Remarks

N/A

Return Value

Type Description
RectangleShape N/A

Parameters

Name Type Description
N/A N/A N/A

MemberwiseClone()

Summary

N/A

Remarks

N/A

Return Value

Type Description
Object N/A

Parameters

Name Type Description
N/A N/A N/A

OnDrawingAttribution(DrawingAttributionLayerEventArgs)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
args DrawingAttributionLayerEventArgs N/A

OnDrawingException(DrawingExceptionLayerEventArgs)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
e DrawingExceptionLayerEventArgs N/A

OnDrawingProgressChanged(DrawingProgressChangedEventArgs)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
e DrawingProgressChangedEventArgs N/A

OnDrawnAttribution(DrawnAttributionLayerEventArgs)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
args DrawnAttributionLayerEventArgs N/A

OnDrawnException(DrawnExceptionLayerEventArgs)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
e DrawnExceptionLayerEventArgs N/A

OnRequestedDrawing(RequestedDrawingLayerEventArgs)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
eventArgs RequestedDrawingLayerEventArgs N/A

OnRequestingDrawing(RequestingDrawingLayerEventArgs)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
eventArgs RequestingDrawingLayerEventArgs N/A

OnStreamLoading(StreamLoadingEventArgs)

Summary

This method allows you to raise the StreamLoading event.

Remarks

This method allows you to raise the StreamLoading event. Normally events are not accessible to derived classes, so we exposed a way to raise the event as necessary through this protected method.

Return Value

Type Description
Void None

Parameters

Name Type Description
e StreamLoadingEventArgs This parameter represents the event arguments you want to raise the StreamLoading event with.

OpenCore()

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
N/A N/A N/A

Public Events

StreamLoading

N/A

Remarks

N/A

Event Arguments

StreamLoadingEventArgs

DrawingProgressChanged

N/A

Remarks

N/A

Event Arguments

DrawingProgressChangedEventArgs

DrawingException

N/A

Remarks

N/A

Event Arguments

DrawingExceptionLayerEventArgs

DrawnException

N/A

Remarks

N/A

Event Arguments

DrawnExceptionLayerEventArgs

DrawingAttribution

N/A

Remarks

N/A

Event Arguments

DrawingAttributionLayerEventArgs

DrawnAttribution

N/A

Remarks

N/A

Event Arguments

DrawnAttributionLayerEventArgs

RequestedDrawing

N/A

Remarks

N/A

Event Arguments

RequestedDrawingLayerEventArgs

RequestingDrawing

N/A

Remarks

N/A

Event Arguments

RequestingDrawingLayerEventArgs