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
)
Public Shared Sub SetAnchor (
element As FrameworkElement,
anchor As LocationAnchor
)
public:
static void SetAnchor(
FrameworkElement^ element,
LocationAnchor anchor
)
static member SetAnchor :
element : FrameworkElement *
anchor : LocationAnchor -> unit
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