ArcObjects Library Reference (Geometry)  

IEnvelope.Width Property

The width of the envelope.

[Visual Basic .NET]
Public Property Width As Double
public double Width {get; set;}
HRESULT get_Width(
  double* Width
HRESULT put_Width(
  double Width


Width [out, retval]   Width is a parameter of type double Width   Width is a parameter of type double

Product Availability

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


The Width of an Envelope is the horizonal span.  The Width = XMax - XMin.  Used to get or set the Width of a non-empty Envelope.  If used to set the Width, the LowerLeft and UpperLeft points are preserved and the LowerRight and UpperRight points are repositioned accordingly.



Envelope Width Example

See Also

IEnvelope Interface | IEnvelope.Height Property | IEnvelope.LowerLeft Property | IEnvelope.LowerRight Property | IEnvelope.UpperLeft Property | IEnvelope.LowerRight Property

.NET Snippets

Zoom to Selected Globe Features | Convert Display Pixels to Map Units

.NET Samples

Dynamic display layer (Code Files: MyDynamicLayerClass) | Custom scene navigation commands (Code Files: ZoomIn ZoomOut)