Class LogoAdornmentLayer
This is the sub base class of AdornmentLayer. The LogoAdornmentLayer is taken as Logo map of the Map Control.
public class LogoAdornmentLayer : AdornmentLayer
- Inheritance
-
LogoAdornmentLayer
- Inherited Members
Constructors
LogoAdornmentLayer()
This method is the default constructor for the LogoAdornmentLayer.
public LogoAdornmentLayer()
Remarks
None
LogoAdornmentLayer(GeoImage)
This is the constructor for the LogoAdormentLayer that receives a specified logo.
public LogoAdornmentLayer(GeoImage image)
Parameters
image
GeoImageThis parameter represents the logo to be drawn on the map.
Properties
Image
public GeoImage Image { get; set; }
Property Value
Methods
DrawCore(GeoCanvas, Collection<SimpleCandidate>)
This method draws the LogoAdornmentLayer.
protected override void DrawCore(GeoCanvas canvas, Collection<SimpleCandidate> labelsInAllLayers)
Parameters
canvas
GeoCanvasThis parameter is the view object or a NativeImage to draw on.
labelsInAllLayers
Collection<SimpleCandidate>This parameter are the labels used for collision detection and duplication check
Remarks
This virtual method is called from the concreate public method Draw. In this
method draw the representation of the layer based on the extent you provided.
You can use the full power of the AdornmentLayer to do the drawing.
Exceptions
- ArgumentNullException
If you pass a null as the geoCanvas we will throw an ArgumentNullException.
- ArgumentNullException
If you pass a null as the labelsInAllLayers we will throw an ArgumentNullException.
- ArgumentOutOfRangeException
If you pass in a mapUnit that is not defined in the enumeration it will throw a ArgumentOutOfRangeException.