Map.SetView Method (LocationRectangle, Thickness)
Namespace: Microsoft.Phone.Maps.Controls
Assembly: Microsoft.Phone.Maps (in Microsoft.Phone.Maps.dll)
Syntax
'Declaration
Public Sub SetView ( _
boundingRectangle As LocationRectangle, _
desiredMargins As Thickness _
)
public void SetView(
LocationRectangle boundingRectangle,
Thickness desiredMargins
)
public:
void SetView(
LocationRectangle^ boundingRectangle,
Thickness desiredMargins
)
member SetView :
boundingRectangle:LocationRectangle *
desiredMargins:Thickness -> unit
Parameters
- boundingRectangle
Type: Microsoft.Phone.Maps.Controls.LocationRectangle
- desiredMargins
Type: System.Windows.Thickness
Version Information
.NET for Windows Phone apps
Supported in: Windows Phone 8, Silverlight 8.1
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.