MercatorMode.ConstrainView Method

This documentation is no longer available on MSDN, however it is available as a CHM download.



Modifies the given parameters to valid values based on the mode limitations.

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

public override bool ConstrainView (
	Location center,
	ref double zoomLevel,
	ref double heading,
	ref double pitch
)
public boolean ConstrainView (
	Location center, 
	/** @ref */ double zoomLevel, 
	/** @ref */ double heading, 
	/** @ref */ double pitch
)

Parameters

center

The location of the center of the view.

zoomLevel

The zoom level of the view to modify.

heading

The directional heading of the view to modify.

pitch

The pitch of the view to modify.

Return Value

Returns a Boolean indicating if any of the values were changed.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Target Platforms

Show: