MapCustomElement.RenderOrigin Property
Gets or sets the point relative to the bounds of the custom map element. This point coincides with the map point specified in the MapCustomElement.Location property.
Namespace: DevExpress.XtraMap
Assembly: DevExpress.XtraMap.v24.2.dll
Declaration
Property Value
Type | Description |
---|---|
MapPoint | A point relative to the bounds of the custom map element. |
Remarks
You can use the RenderOrigin property to specify the offset of a MapCustomElement. This property’s values are used as the range factor for the MapCustomElement’s X and Y axis.
The RenderOrigin point of the MapCustomElement coincides with the map point specified in the MapCustomElement.Location property.
Render Origin (0.5, 0.8) | Render Origin (0,0), Render Origin (1,1) |
---|---|
You can also use values less than 0 and greater than 1 to increase the distance between the MapCustomElement and the location point.
See Also