windowsforms-devexpress-dot-xtramap-dot-mappushpin.md
Gets or sets the center point of any possible render, relative to the bounds of the map pushpin.
Namespace : DevExpress.XtraMap
Assembly : DevExpress.XtraMap.v25.2.dll
NuGet Package : DevExpress.Win.Map
public MapPoint RenderOrigin { get; set; }
Public Property RenderOrigin As MapPoint
| Type | Description |
|---|---|
| MapPoint |
A MapPoint structure value.
|
For the following parameter value.
mapPushpin.RenderOrigin = new MapPoint(0.5, 0.8);
mapPushpin.RenderOrigin = New MapPoint(0.5, 0.8)
It should look as follows.
Note
If a MapPushpin uses the default image, then this property is ignored.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the RenderOrigin property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
how-to-colorize-pushpin-items-based-on-data-source-data-t423869/CS/ColorPushpinFactory/Form1.cs#L67
pushpin.Image = image;
pushpin.RenderOrigin = new MapPoint(0.5, 0.8);
pushpin.TextOrigin = new Point(22, 14);
how-to-colorize-pushpin-items-based-on-data-source-data-t423869/VB/ColorPushpinFactory/Form1.vb#L62
pushpin.Image = image
pushpin.RenderOrigin = New MapPoint(0.5, 0.8)
pushpin.TextOrigin = New Point(22, 14)
See Also