Click or drag to resize

ShapeCanvasSetAnchor Method

Sets 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 void SetAnchor(
	FrameworkElement element,
	LocationAnchor anchor
)

Parameters

element
Type: System.WindowsFrameworkElement
Shape element for which a anchor should be set.
anchor
Type: Ptv.XServer.Controls.Map.Layers.ShapesLocationAnchor
New anchor of the shape element.
See Also