Share via


MapCore.SetView Method (IEnumerable<Location>, Thickness, Double)

 

Sets the map view to the specified center location, margin, and heading.

Namespace:   Microsoft.Maps.MapControl.WPF
Assembly:  Microsoft.Maps.MapControl.WPF (in Microsoft.Maps.MapControl.WPF.dll)

Syntax

public void SetView(
    IEnumerable<Location> locations,
    Thickness margin,
    double heading
)
public:
void SetView(
    IEnumerable<Location^>^ locations,
    Thickness margin,
    double heading
)
member SetView : 
        locations:IEnumerable<Location> *
        margin:Thickness *
        heading:float -> unit
Public Sub SetView (
    locations As IEnumerable(Of Location),
    margin As Thickness,
    heading As Double
)

Parameters

See Also

SetView Overload
MapCore Class
Microsoft.Maps.MapControl.WPF Namespace

Return to top