SetByteData Method (IXRecord)

SetByteData Method (IXRecord) | Send Feedback
See Also

Index
  Index of XRecord data element to set to a binary array (see Remarks)

ByteArray
  Binary array

Sets the specified XRecord data element to a binary array.

# Syntax

Visual Basic |
--- | ---
    Sub SetByteData( _
       ByVal Index As System.Integer, _
       ByVal ByteArray As System.Object _
    )

C# |
--- | ---
    void SetByteData(
       System.int Index,
       System.object ByteArray
    )

JavaScript |
--- | ---
    SetByteData(
       Index : Number,
       ByteArray : Array
    )

COM native C++ |
--- | ---
    HRESULT SetByteData(
       LONG Index,
       VARIANT ByteArray
    )

C++ |
--- | ---
    DSRESULT SetByteData(
       long Index,
       const dsByteArray& ByteArray
    )

#### Parameters

Index
  Index of XRecord data element to set to a binary array (see Remarks)
ByteArray
  Binary array

# Remarks

Before calling this method, call IXRecord::GetDataCount to determine a valid value for Index.

# See Also

####

IXRecord Interface
IXRecord Members
IXRecord::GetByteData Method ()
IXRecord::InsertByteData Method ()

# Availability

DraftSight V1R4.0