ArcObjects Library Reference  (Geometry)    

IPoint.Z Property

The Z attribute.

[Visual Basic 6.0]
Property Z As Double
[Visual Basic .NET]
Public Property Z As Double
[C#]
public double Z {get; set;}
[Java]
public Double getZ()
throws
    IOException,
    AutomationException
[Java]
public void setZ(
Double Z
)
throws
    IOException,
    AutomationException
[C++]
HRESULT get_Z(
  double* Z
);
[C++]
HRESULT put_Z(
  double Z

);

[C++]

Parameters

Z [out, retval]

  Z is a parameter of type double

Z

  Z is a parameter of type double

Product Availability

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

Description

Returns or Sets the Z attribute on the Point.  Although the Z attribute refers to the 3-Dimensional depth of the point, the point still spatially exists in only 2-Dimensions with a Z attribute.  Further, the point must be ZAware to make use of the Z attribute.

See Also

IPoint Interface | IPoint.X Property | IPoint.Y Property | IPoint.M Property | IZAware Interface | IPoint.Z Property | IZ Interface | IZCollection Interface

Example

IPoint_prop_Example

 


Feedback Send feedback on this page