The maximum Z value in the area of the envelope.
[Visual Basic 6.0] Property ZMax As Double
[Visual Basic .NET] Public Property ZMax As Double
[C#] public double ZMax {get; set;}
[Java] public Double getZMax() throws IOException, AutomationException
[Java] public void setZMax( Double ZMax ) throws IOException, AutomationException
[C++]
HRESULT get_ZMax(
double* ZMax
);
[C++] HRESULT put_ZMax( double ZMax);
Parameters
ZMax [out, retval]
ZMax is a parameter of type double
ZMax
ZMax is a parameter of type double
ZMax defines the upper elevation boundary of the envelope.

The following C# code shows how to read and write the ZMax value:
IEnvelope env = new EnvelopeClass() as IEnvelope;
env.ZMax = 2;
double zMax;
zMax = env.ZMax;
The following VB code shows how to read and write the ZMax value:
dim dZmax as double dim pEnv as IEnvelope set pEnv = new Envelope pEnv.ZMax = 100.0 dZMax = pEnv.ZMax