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
);
Parameters
dz
dz is a parameter of type double
asRatio
asRatio is a parameter of type VARIANT_BOOL
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)