Returns the coordinates of lower, left and upper, right corners.
[Visual Basic 6.0] Sub QueryCoords(
XMin As Double, _
YMin As Double, _
XMax As Double, _
YMax As Double _
)
[Visual Basic .NET] Public Sub QueryCoords ( _ ByRef XMin As Double, _ ByRef YMin As Double, _ ByRef XMax As Double, _ ByRef YMax As Double _ )
[C#] public void QueryCoords ( ref double XMin, ref double YMin, ref double XMax, ref double YMax );
[Java] public void queryCoords ( double XMin, double YMin, double XMax, double YMax ) throws IOException, AutomationException
[C++]
HRESULT QueryCoords(
double* XMin,
double* YMin,
double* XMax,
double* YMax
);
Parameters
XMin [out]
XMin is a parameter of type double
YMin [out]
YMin is a parameter of type double
XMax [out]
XMax is a parameter of type double
YMax [out]
YMax is a parameter of type double
Returns the XMin, YMin, XMax, and YMax values for the Envelope. These values can also be used to recreate the Envelope using PutCoords.
The following C# Code shows how to query for the XMin, YMin, XMax and YMax coordinates.
double xMin, yMin, xMax, yMax;
env.QueryCoords(out xMin, out yMin, out xMax, out yMax);
The following Visual Basic Code shows how to query for the xmin,ymin,xmax and ymax coordinates.
Dim dXmin As Double
Dim dYmin As Double
Dim dXmax As Double
Dim dYmax As Double
m_pEnveLope.QueryCoords dXmin, dYmin, dXmax, dYmax
IEnvelope Interface | IEnvelope.PutCoords Method