MapIcon.NormalizedAnchorPoint Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the anchor point of the MapIcon. The anchor point is the point on the MapIcon that is positioned at the point on the MapControl specified by the Location property.
public:
property Point NormalizedAnchorPoint { Point get(); void set(Point value); };
Point NormalizedAnchorPoint();
void NormalizedAnchorPoint(Point value);
public Point NormalizedAnchorPoint { get; set; }
var point = mapIcon.normalizedAnchorPoint;
mapIcon.normalizedAnchorPoint = point;
Public Property NormalizedAnchorPoint As Point
Property Value
The anchor point of the MapIcon.
Remarks
When you display a MapIcon image that points to a specific location on the map - for example, a pushpin or an arrow - consider setting the value of the NormalizedAnchorPoint property to the approximate location of the pointer on the image. If you leave the value of NormalizedAnchorPoint at its default value of (0, 0), which represents the upper left corner of the image, changes in the ZoomLevel of the map may leave the image pointing to a different location.