Click or drag to resize

ShapeCanvasGetLocation Method

Retrieves the location of a certain shape element.

Namespace:  Ptv.XServer.Controls.Map.Layers.Shapes
Assembly:  Ptv.XServer.Controls.Map (in Ptv.XServer.Controls.Map.dll) Version: 1.7.10.0
Syntax
public static Point GetLocation(
	UIElement element
)

Parameters

element
Type: System.WindowsUIElement
The element of which the location should be retrieved.

Return Value

Type: Point
The shape element location as a point. Returns a Point with zeroed coordinates if none was set.
See Also