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.
Assembly: Microsoft.Maps.MapControl (in Microsoft.Maps.MapControl.dll)
'Declaration Public Overrides Function ConstrainView ( _ center As Location, _ ByRef zoomLevel As Double, _ ByRef heading As Double, _ ByRef pitch As Double _ ) As Boolean
public override bool ConstrainView ( Location center, ref double zoomLevel, ref double heading, ref double pitch )
public: virtual bool ConstrainView ( Location^ center, double% zoomLevel, double% heading, double% pitch ) override
public boolean ConstrainView ( Location center, /** @ref */ double zoomLevel, /** @ref */ double heading, /** @ref */ double pitch )
The location of the center of the view.
The zoom level of the view to modify.
The directional heading of the view to modify.
The pitch of the view to modify.
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.
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.