This document is archived and information here might be outdated.  Recommended version.


ITinFeatureEdit.AddPolyline Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IT > ITinFeatureEdit Interface > ITinFeatureEdit.AddPolyline Method
ArcGIS Developer Help

ITinFeatureEdit.AddPolyline Method

Adds polyline. pSeed can be NULL or Nothing.

[Visual Basic .NET]
Public Sub AddPolyline ( _
    ByVal pShape As IPolyline, _
    ByVal Type As esriTinEdgeType, _
    ByVal TagValue As Integer, _
    ByVal NodeTagValue As Integer, _
    ByVal pSeed As ITinEdge, _
    [ByRef pZ As Object] _
)
[C#]
public void AddPolyline (
    IPolyline pShape,
    esriTinEdgeType Type,
    int TagValue,
    int NodeTagValue,
    ITinEdge pSeed,
    ref object pZ
);
[C++]
HRESULT AddPolyline(
  IPolyline* pShape,
  esriTinEdgeType Type,
  long TagValue,
  long NodeTagValue,
  ITinEdge* pSeed,
  Variant* pZ
);
[C++]
Parameters
pShape [in]

pShape is a parameter of type IPolyline* Type [in]
Type is a parameter of type esriTinEdgeType TagValue [in]
TagValue is a parameter of type long NodeTagValue [in]
NodeTagValue is a parameter of type long pSeed
pSeed is a parameter of type ITinEdge* pZ [in, optional]
pZ is a parameter of type VARIANT*

Product Availability

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

Description

The Shape, a 2D polyline object, represents the input geometry to be added.

The Type indicates how the resulting edges of the embedded polyline will be coded. Supported edge types are esriTinHardEdge, esriTinRegularEdge, and esriTinSoftEdge.

The TagValue is a signed, non-zero, long integer that will be assigned to the embedded polyline edges.

The NodeTagValue is a signed long integer that will be assigned to the embedded polyline nodes. A zero can be used to ignore node tag value assignment.

The Seed is TinEdge pointer. If you're interested in obtaining a seed that can be used as a handle to the added polyline then have the seed point to a TinEdge object. The object will then be populated with the appropriate properties. If you're not interested in obtaining a seed then pass a NULL pointer ('Nothing' in VisualBasic).

The optional Z can be used to define a constant height to be used for the added polyline. If unspecified, heights will be interpolated off the existing surface.

See Also

ITinFeatureEdit Interface