The position of the top.
[Visual Basic 6.0] Property YMax As Double
[Visual Basic .NET] Public Property YMax As Double
[C#] public double YMax {get; set;}
[Java] public Double getYMax() throws IOException, AutomationException
[Java] public void setYMax( Double YMax ) throws IOException, AutomationException
[C++]
HRESULT get_YMax(
double* YMax
);
[C++] HRESULT put_YMax( double YMax);
Parameters
YMax [out, retval]
YMax is a parameter of type double
YMax
YMax is a parameter of type double
YMax is the top coordinate of the envelope.
Setting Ymax to a value smaller than Ymin will reverse Ymin and Ymax. Use PutCoords to avoid this behavior.

The following C# code shows how to get the YMax property from an envelope:
yMax = env.YMax;
The following Visual Basic code shows how to get the YMax property of an envelope:
dYMax = m_pEnvelope.YMax
IEnvelope Interface | IEnvelope.YMin Property | IEnvelope.XMin Property | IEnvelope.XMax Property