This document is archived and information here might be outdated.  Recommended version.

IDisplayTransformation.FittedBounds Property (ArcObjects .NET 10.7 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > ID > IDisplayTransformation Interface > IDisplayTransformation.FittedBounds Property
ArcGIS Developer Help

IDisplayTransformation.FittedBounds Property

Device frame in world coordinates.

[Visual Basic .NET]
Public ReadOnly Property FittedBounds As IEnvelope
public IEnvelope FittedBounds {get;}
HRESULT get_FittedBounds(
  IEnvelope** Bounds
Bounds [out, retval]

Bounds is a parameter of type IEnvelope**

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


The VisibleBounds is adjusted to match the aspect ratio of the DeviceFrame.  This adjusted rectangle is stored in FittedBounds and VisibleBounds stores the actual rectangle specified by the client.  In this way, the FittedBounds is the true visible extent of the display and is a read-only property.

See Also

IDisplayTransformation Interface | IActiveView.Extent Property | IDisplayTransformation.FittedBounds Property | IDisplayTransformation.VisibleBounds Property | IFeatureClassManage Interface | IFeatureClassManage.UpdateExtent Method | ITin.Extent Property

.NET Samples

Dynamic display layer