Share via


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

See Also

MapLayer Class
Microsoft.Maps.MapControl.WPF Namespace

Return to top