ArcObjects Library Reference (Geometry)  

IEnvelope.LowerRight Property

The lower right corner.

[Visual Basic .NET]
Public Property LowerRight As IPoint
[C#]
public IPoint LowerRight {get; set;}
[C++]
HRESULT get_LowerRight(
  IPoint** LowerRight
);
[C++]
HRESULT put_LowerRight(
  IPoint* LowerRight
);
[C++]

Parameters

LowerRight [out, retval]

  LowerRight is a parameter of type IPoint

LowerRight

  LowerRight is a parameter of type IPoint

Product Availability

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

Description

    private void printEnvelope(IEnvelope envelope)
    {
        IPoint lowerLeft = envelope.LowerLeft;
        IPoint lowerRight = envelope.LowerRight;
        IPoint upperLeft = envelope.UpperLeft;
        IPoint upperRight = envelope.UpperRight;

        String report = "LowerLeft  X  = " + lowerLeft.X + "\n" +
                        "LowerLeft  Y  = " + lowerLeft.Y + "\n\n" +
                        "LowerRight X = " + lowerRight.X + "\n" +
                        "LowerRight Y = " + lowerRight.Y + "\n\n" +
                        "UpperLeft  X  = " + upperLeft.X + "\n" +
                        "UpperLeft  Y  = " + upperLeft.Y + "\n\n" +
                        "UpperRight X = " + upperRight.X + "\n" +
                        "UpperRight Y = " + upperRight.Y;


        System.Windows.Forms.MessageBox.Show(report);
    }

Remarks


Returns or sets the LowerRight point of an Envelope .
Envelope LowerRight Example
[C#]

public void Driver()
{
   IEnvelope envelope = new EnvelopeClass();
  
   envelope.XMin = 0;
   envelope.YMin = 10;
   envelope.XMax = 20;
   envelope.YMax = 30;
  
   printEnvelope(envelope);
}
 
 private void printEnvelope(IEnvelope envelope)
 {
   IPoint lowerLeft = envelope.LowerLeft;
   IPoint lowerRight = envelope.LowerRight;
   IPoint upperLeft = envelope.UpperLeft;
   IPoint upperRight = envelope.UpperRight;
  
   String report = "LowerLeft  X  = " + lowerLeft.X  + "\n" +
                   "LowerLeft  Y  = " + lowerLeft.Y  + "\n\n" +
                   "LowerRight X = "+ lowerRight.X   + "\n" +
                   "LowerRight Y = " + lowerRight.Y  + "\n\n" +
                   "UpperLeft  X  = " + upperLeft.X  + "\n" +
                   "UpperLeft  Y  = " + upperLeft.Y  + "\n\n" +
                   "UpperRight X = "+ upperRight.X   + "\n" +
                   "UpperRight Y = "+ upperRight.Y;
 
 
  System.Windows.Forms.MessageBox.Show(report);
 }

See Also

IEnvelope Interface | IEnvelope.LowerLeft Property | IEnvelope.UpperLeft Property | IEnvelope.UpperRight Property | IEnvelope.Width Property | IEnvelope.Height Property

.NET Related Topics

How to find the combined extent of two geometries