This document is archived and information here might be outdated. Recommended version. |
Indicates whether or not the geometry is aware of and capable of handling Zs.
[Visual Basic .NET]
Public Property ZAware As Boolean
[C#]
public bool ZAware {get; set;}
[C++]
HRESULT get_ZAware(
Boolean* ZAware
);
[C++]
HRESULT put_ZAware(
VARIANT_BOOL ZAware
);
[C++] Parameters ZAware [out, retval]
ZAware is a parameter of type bool* ZAware
ZAware is a parameter of type bool
Returns or sets the Z Awareness state of the geometry object. If ZAware is TRUE, then the object will recognize that it has Z attributes and perform operations on them as necessary. If ZAware is FALSE, the object will ignore Zs while performing operations. ZAware should only be set to TRUE when all of the Zs are not NaN.
Use ZAware = True when you want geometries to retain Z values during geometry operations.
private Double getZFromPoint(IPoint point)
{
return point.Z;
}