ASP.NET 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.  

 Public Properties

  Name Description

HighlightImage

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

Image

Gets or sets the System.Drawing.Image 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 the decoration's location. (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.WebForms Namespace