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


IEnvelope.Width Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IE > IEnvelope Interface > IEnvelope.Width Property
ArcGIS Developer Help

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(
  System.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 Samples

Custom scene navigation commands Custom scene navigation commands Dynamic display layer