ArcObjects Library Reference  (Geometry)    

IEnvelope.ZMax Property

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

);

[C++]

Parameters

ZMax [out, retval]

  ZMax is a parameter of type double

ZMax

  ZMax is a parameter of type double

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

ZMax defines the upper elevation boundary of the envelope.

Remarks

 

Envelope ZMax Example

[C#]

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;

[Visual Basic 6.0]

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

See Also

IEnvelope Interface

 


Feedback Send feedback on this page