This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IE > IEnvelope Interface > IEnvelope.ZMax Property (ArcObjects .NET 10.5 SDK) |
The maximum Z value in the area of the envelope.
[Visual Basic .NET] Public Property ZMax As Double
[C#] public double ZMax {get; set;}
[C++]
HRESULT get_ZMax(
double* ZMax
);
[C++]
HRESULT put_ZMax(
double ZMax
);
[C++]
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;