This document is archived and information here might be outdated. Recommended version. |
The upper left corner.
[Visual Basic .NET] Public Property UpperLeft As IPoint
[C#] public IPoint UpperLeft {get; set;}
[C++]
HRESULT get_UpperLeft(
IPoint** UpperLeft
);
[C++]
HRESULT put_UpperLeft(
IPoint* UpperLeft
);
[C++] Parameters UpperLeft [out, retval]
UpperLeft is a parameter of type IPoint** UpperLeft
UpperLeft is a parameter of type IPoint*
Returns or sets the UpperLeft point of an 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);
}
IEnvelope Interface | IEnvelope.LowerLeft Property | IEnvelope.LowerRight Property | IEnvelope.UpperRight Property | IEnvelope.Height Property | IEnvelope.Width Property