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 pSeedpSeed is a parameter of type ITinEdge
pZ [optional] pZ is a parameter of type VARIANTTo indicate this parameter is undefined pass a reference to a VARIANT with type VT_ERROR and scode value of DISP_E_PARAMNOTFOUND.
Product Availability
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.