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

.NET Samples

Dynamic display layer (Code Files: MyDynamicLayerClass) |