InsertByteData Method (ICustomData) Send Feedback
See Also  Example
Index
Index where to insert the custom data
ByteArray
Binary array of doubles (see Remarks)
Inserts the specified custom data element whose data type is a binary array.

Syntax

Visual Basic 
Sub InsertByteData( _
   ByVal Index As System.Integer, _
   ByVal ByteArray As System.Object _
) 
C# 
void InsertByteData( 
   System.int Index,
   System.object ByteArray
)
JavaScript 
InsertByteData( 
   Index : Number,
   ByteArray : Array
)
COM native C++ 
HRESULT InsertByteData( 
   LONG Index,
   VARIANT ByteArray
) 
C++ 
DSRESULT InsertByteData( 
   long Index,
   const dsByteArray& ByteArray
) 

Parameters

Index
Index where to insert the custom data
ByteArray
Binary array of doubles (see Remarks)

Example

Remarks

Binary data is organized into variable-length chunks. The maximum length of each chunk is 127 bytes. If a binary array larger than 127 bytes is passed, then the custom data is not added. If your application requires more than 127 bytes of binary data, then the application must organize the data into multiple chunks.

 

See Also

Availability

DraftSight V1R1.2