MindFusion.Wpf Pack Programmer's Guide
DecorationImage Members
Constructors Properties Methods
 


Represents an image that can be drawn as a decoration over the map.

The following tables list the members exposed by the DecorationImage type.

 Public Constructors

  Name Description

DecorationImage

Overloaded. Initializes a new instance of the DecorationImage class.

 Public Properties

  Name Description

FontName

Gets or sets the name of the font used to render the label of this element. (Inherited from MapElement.)

FontSize

Gets or sets the size of the font used to render the label of this element. (Inherited from MapElement.)

HighlightImage

Gets or sets a System.Drawing.Image that should be displayed when the decoration is highlighted.

Image

Gets or sets the BitmapImage that should be displayed as a decoration.

Label

Gets or sets the label of this map element. (Inherited from MapElement.)

Latitude

Gets or sets the latitude associated with this decoration. (Inherited from Decoration.)

Longitude

Gets or sets the longitude associated with this decoration. (Inherited from Decoration.)

PivotX

Gets or sets horizontal offset within the image that should be aligned to the decoration longitude.

PivotY

Gets or sets vertical offset within the image that should be aligned to the decoration latitude.

 Public Methods

  Name Description

GetLocation

Gets a point representing the geographical location of the decoration. (Inherited from Decoration.)

 Protected Methods

  Name Description

Draw

MapElement.Draw override.

DrawLabel

MapElement.DrawLabel override.

Highlight

MapElement.Highlight override.

HitTest

MapElement.HitTest override.

 See Also

DecorationImage Class
MindFusion.Mapping.Wpf Namespace