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