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


IDisplayTransformation.FittedBounds Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Display)  

IDisplayTransformation.FittedBounds Property

Device frame in world coordinates.

[Visual Basic .NET]
Public ReadOnly Property FittedBounds As IEnvelope
[C#]
public IEnvelope FittedBounds {get;}
[C++]
HRESULT get_FittedBounds(
  IEnvelope** Bounds
);
[C++]

Parameters Bounds [out, retval]
Bounds is a parameter of type IEnvelope

Product Availability

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

Remarks

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 (Code Files: MyDynamicLayerClass)