ArcObjects Library Reference (Geometry)  

IEnvelope.Width Property

The width of the envelope.

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

Parameters

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.

Description

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.

Remarks

 

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)