This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IT > ITinFeatureEdit Interface > ITinFeatureEdit.AddPolyline Method (ArcObjects .NET 10.4 SDK) |
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 );
Optional Values
[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 [optional] pZ is a parameter of type VARIANT
To indicate this parameter is undefined pass a reference to a VARIANT with type VT_ERROR and scode value of DISP_E_PARAMNOTFOUND.
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.