ArcObjects Library Reference  (Geometry)    

IEnvelope.YMax Property

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

);

[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.

Envelope YMax Example

[C#]

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

yMax = env.YMax;

[Visual Basic 6.0]

The following Visual Basic code shows how to get the YMax property of an envelope:

dYMax = m_pEnvelope.YMax 

See Also

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

 


Feedback Send feedback on this page