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


IEnvelope.Width Property (ArcObjects .NET 10.4 SDK)
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

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

.NET Samples

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