MapLayer.SetPositionOrigin Method (DependencyObject, PositionOrigin)
Sets the position of the origin of the map layer.
Namespace: Microsoft.Maps.MapControl.WPF
Assembly: Microsoft.Maps.MapControl.WPF (in Microsoft.Maps.MapControl.WPF.dll)
Syntax
public static void SetPositionOrigin(
DependencyObject dependencyObject,
PositionOrigin origin
)
public:
static void SetPositionOrigin(
DependencyObject^ dependencyObject,
PositionOrigin origin
)
static member SetPositionOrigin :
dependencyObject:DependencyObject *
origin:PositionOrigin -> unit
Public Shared Sub SetPositionOrigin (
dependencyObject As DependencyObject,
origin As PositionOrigin
)
Parameters
dependencyObject
Type: System.Windows.DependencyObjectThe dependency field.
origin
Type: Microsoft.Maps.MapControl.WPF.PositionOriginThe position origin of the map layer.
See Also
MapLayer Class
Microsoft.Maps.MapControl.WPF Namespace
Return to top