ArcObjects Library Reference (Display)  

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.VisibleBounds Property | IDisplayTransformation.FittedBounds Property | ITin.Extent Property | IFeatureClassManage.UpdateExtent Method | IFeatureClassManage Interface

.NET Samples

Dynamic display layer (Code Files: MyDynamicLayerClass)