Parameters
- dx
- Change in x
- dy
- Change in y
- dz
- Change in z
- asRatio
- If asRatio = true, the expansion is multiplicative. If false, the expansion is additive.
Exception | Description |
---|---|
System.InvalidOperationException | This geometry is not Z-Aware. |
GeometryObjectException | ZMin or ZMax is NaN. |
If asRatio = true, the expansion is multiplicative. If you want to increase the envelope width by 10%, then dx = 1.1. On the other hand, if you want to decrease the width by 10%, then dx = 0.9. Similarly, set dy to increase or decrease the envelope height and dz to increase or decrease the envelope depth. No negative numbers are allowed when asRatio is set to true.
The Envelope remains centered at the same position.
Target Platforms: Windows 10, Windows 8.1