The position of the top.
[Visual Basic .NET] Public Property YMax As Double
[C#] public double YMax {get; set;}
[C++]
HRESULT get_YMax(
double* YMax
);
[C++]
HRESULT put_YMax(
double YMax
);
[C++]Parameters
YMax [out, retval] YMax is a parameter of type double YMax YMax is a parameter of type double
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Description
YMax is the top coordinate of the envelope.
Remarks
Setting Ymax to a value smaller than Ymin will reverse Ymin and Ymax. Use PutCoords to avoid this behavior.
[C#]
The following C# code shows how to get the YMax property from an envelope:
yMax = env.YMax;
See Also
IEnvelope Interface | IEnvelope.YMin Property | IEnvelope.XMin Property | IEnvelope.XMax Property