Adjusts the map surround to fit the bounds. The changed argument indicates whether the size of the map surround was changed.
[Visual Basic 6.0] Sub FitToBounds(
ByVal Display As IDisplay, _
ByVal Bounds As IEnvelope, _
changed As Boolean _
)
[Visual Basic .NET] Public Sub FitToBounds ( _ ByVal Display As IDisplay, _ ByVal Bounds As IEnvelope, _ ByRef changed As Boolean _ )
[C#] public void FitToBounds ( IDisplay Display, IEnvelope Bounds, ref bool changed );
[Java] public void fitToBounds ( IDisplay Display, IEnvelope Bounds, Boolean changed ) throws IOException, AutomationException
[C++] HRESULT FitToBounds( IDisplay* Display, IEnvelope* Bounds, VARIANT_BOOL* changed );
Parameters
Display [in]
Display is a parameter of type IDisplay
Bounds [in]
Bounds is a parameter of type IEnvelope
changed [out]
changed is a parameter of type VARIANT_BOOL