This document is archived and information here might be outdated. Recommended version. |
Queries the minimum and maximum Z values simultaneously.
[Visual Basic .NET] Public Sub QueryZCoords ( _ ByRef ZMin As Double, _ ByRef ZMax As Double _ )
[C#] public void QueryZCoords ( ref double ZMin, ref double ZMax );
[C++]
HRESULT QueryZCoords(
System.Double* ZMin,
System.Double* ZMax
);
[C++]
Parameters ZMin [out]
ZMin is a parameter of type double* ZMax [out]
ZMax is a parameter of type double*
Returns the values of ZMin and ZMax respectively.
public static void TestQueryZCoords()
{
IEnvelope2 envelope=GetEnvelopeGeometry() as IEnvelope2;
double zMin, zMax;
envelope.QueryZCoords(out zMin, out zMax);
//zMin=-14.131
//zMax=-4.131
}