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


IGeometry.Envelope Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Geometry)  

IGeometry.Envelope Property

Creates a copy of this geometry's envelope and returns it.

[Visual Basic .NET]
Public ReadOnly Property Envelope As IEnvelope
[C#]
public IEnvelope Envelope {get;}
[C++]
HRESULT get_Envelope(
  IEnvelope** newEnvelope
);
[C++]

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

Product Availability

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

Description

Returns the unique Envelope that binds the Geometry object.  This is the smallest Envelope that Contains the object.

Remarks

 

Envelope Example

See Also

IGeometry Interface

.NET Snippets

Zoom to Selected Globe Features

.NET Samples

Create custom move, rotate, and scale GeometricEffects within a single project (Code Files: clsGE_Transform_Rotate clsGE_Transform_Scale) | RSS weather layer (Code Files: RSSWeatherLayerClass) | Triangle graphic element (Code Files: TriangleElementClass)

.NET Related Topics

Creating a topology in the geodatabase | Geodatabase | How to find the combined extent of two geometries | How to zoom to selected features in globe | Listening to the OnValidate event for a geodatabase topology | Working with map surrounds