ArcObjects Library Reference  (Geometry)    

IEnvelope.ExpandZ Method

Moves the Z attribute of the sides toward or away from each other.

[Visual Basic 6.0]
Sub ExpandZ(
    ByVal dz As Double, _
    ByVal asRatio As Boolean _
)
[Visual Basic .NET]
Public Sub ExpandZ ( _
    ByVal dz As Double, _
    ByVal asRatio As Boolean _
)
[C#]
public void ExpandZ (
    double dz,
    bool asRatio
);
[Java]
public void expandZ (
    double dz,
    Boolean asRatio
)
throws
    IOException,
    AutomationException
[C++]
HRESULT ExpandZ(
  double dz,
  VARIANT_BOOL asRatio
);
[C++]

Parameters

dz

  dz is a parameter of type double

asRatio

  asRatio is a parameter of type VARIANT_BOOL

Product Availability

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

Description

ExpandZ scales the Z attributes of the Envelope.  If asRatio = FALSE, the scaling is additive (ZMin = ZMin - dz, ZMax = ZMax + dz).  If asRatio = TRUE, the scaling is multiplicative (ZMin = ZMin - dz*Depth/2, ZMax = ZMax + dz*Depth/2)

See Also

IEnvelope Interface

 


Feedback Send feedback on this page