This document is archived and information here might be outdated. Recommended version. |
Set the Zs on the segment's endpoints.
[Visual Basic .NET]
Public Sub SetZs ( _
ByVal fromZ As Double, _
ByVal toZ As Double _
)
[C#]
public void SetZs (
double fromZ,
double toZ
);
[C++]
HRESULT SetZs(
double fromZ,
double toZ
);
[C++] Parameters fromZ
fromZ is a parameter of type double toZ
toZ is a parameter of type double
Sets the Z attributes for the From and To points of the segment. These attributes can be set regardless of the attribute awareness of the segment.
public static void SetZs()
{
const double FromZ = 5;
const double ToZ = 5;
IGeometry geometry = GetLineGeometry();
ISegmentZ segmentZ = geometry as ISegmentZ;
segmentZ.SetZs(FromZ, ToZ);
}