This document is archived and information here might be outdated. Recommended version. |
Sets the minimum and maximum Z values simultaneously.
[Visual Basic .NET]
Public Sub PutZCoords ( _
ByVal ZMin As Double, _
ByVal ZMax As Double _
)
[C#]
public void PutZCoords (
double ZMin,
double ZMax
);
[C++]
HRESULT PutZCoords(
double ZMin,
double ZMax
);
[C++] Parameters ZMin
ZMin is a parameter of type double ZMax
ZMax is a parameter of type double
Sets the ZMin and ZMax simultaneously. This avoids complications of setting ZMin and ZMax individually in which they could become inconsistent.
public static void TestPutZCoords()
{
const double ZMin = -10;
const double ZMax = -5;
IEnvelope2 envelope = GetEnvelopeGeometry() as IEnvelope2;
envelope.PutZCoords(ZMin, ZMax);
}