InsertPointData Method (ICustomData) Send Feedback
See Also  Example
Index
Index where to insert custom data
Marker
Marker for the custom data element
X

x coordinate

Y
y coordinate
Z
z coordinate
Inserts a point and a marker at the specified index.

Syntax

Visual Basic 
Sub InsertPointData( _
   ByVal Index As System.Integer, _
   ByVal Marker As System.Integer, _
   ByVal X As System.Double, _
   ByVal Y As System.Double, _
   ByVal Z As System.Double _
) 
C# 
void InsertPointData( 
   System.int Index,
   System.int Marker,
   System.double X,
   System.double Y,
   System.double Z
)
JavaScript 
InsertPointData( 
   Index : Number,
   Marker : Number,
   X : Number,
   Y : Number,
   Z : Number
)
COM native C++ 
HRESULT InsertPointData( 
   LONG Index,
   LONG Marker,
   DOUBLE X,
   DOUBLE Y,
   DOUBLE Z
) 
C++ 
DSRESULT InsertPointData( 
   long Index,
   long Marker,
   double X,
   double Y,
   double Z
) 

Parameters

Index
Index where to insert custom data
Marker
Marker for the custom data element
X

x coordinate

Y
y coordinate
Z
z coordinate

Example

Remarks

Call ICustomData::GetDataCount before calling this method to determine a valid value for Index.

 

See Also

Availability

DraftSight V1R1.2