Click or drag to resize

ShapeCanvasGetAnchor Method

Retrieves the Anchor 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 LocationAnchor GetAnchor(
	UIElement element
)

Parameters

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

Return Value

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