This document is archived and information here might be outdated. Recommended version. |
The position of the right side.
[Visual Basic .NET]
Public Property XMax As Double
[C#]
public double XMax {get; set;}
[C++]
HRESULT get_XMax(
System.Double* XMax
);
[C++]
HRESULT put_XMax(
double XMax
);
[C++] Parameters XMax [out, retval]
XMax is a parameter of type double* XMax
XMax is a parameter of type double
XMax is the right side coordinate of the envelope.
Setting Xmax to a value smaller than Xmin will reverse Xmin and Xmax. Use PutCoords to avoid this behavior.
The following C# code shows how to get the XMax property from an envelope:
xMax = env.XMax;
IEnvelope Interface | IEnvelope.XMin Property | IEnvelope.YMin Property