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


IEnvelope.XMin Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Geometry)  

IEnvelope.XMin Property

The position of the left side.

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

Parameters XMin [out, retval] XMin is a parameter of type double XMin XMin is a parameter of type double

Product Availability

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

Description

XMin is the left side coordinate of the envelope.

Remarks

Setting Xmin to a value larger than Xmax will reverse Xmin and Xmax. Use PutCoords to avoid this behavior.

Envelope XMin Example

[C#]

The following C# code shows how to get the XMin property from an envelope:

xMin=env.XMin;

See Also

IEnvelope Interface | IEnvelope.XMax Property | IEnvelope.YMin Property

.NET Snippets

Zoom to Selected Globe Features | Create Low Precision Spatial Reference | Create Grid From Feature Class

.NET Samples

3D multipatch examples (Code Files: ExtrusionExamples) | Dynamic display animated zoom (Code Files: AnimatedZoomInTool AnimatedZoomOutTool) | Dynamic display layer (Code Files: MyDynamicLayerClass) | Custom scene navigation commands (Code Files: ZoomIn ZoomOut)

.NET Related Topics

How to set raster properties when saving as a raster | How to split a raster dataset into multiple tiles | Listening to the OnValidate event for a geodatabase topology | Working with the analysis environment