DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomDataSet Class / AddPixelData Method

The Byte Array to be added to the Pixel Attribute (7FE0, 0010) of the DataSet

Specifies the UID of the transfer syntax in which the data is coded. If omitted, the little-endian explicit VR transfer syntax is used.







In This Topic
    AddPixelData Method
    In This Topic
    Adds pixel data to DicomDataSet
    Syntax
    'Declaration
     
    
    Public Sub AddPixelData( _
       ByVal Data As System.Object, _
       ByVal TransferSyntax As System.String _
    ) 
    'Usage
     
    
    Dim instance As DicomDataSet
    Dim Data As System.Object
    Dim TransferSyntax As System.String
     
    instance.AddPixelData(Data, TransferSyntax)
    public void AddPixelData( 
       System.object Data,
       System.string TransferSyntax
    )
    public procedure AddPixelData( 
        Data: System.TObject;
        TransferSyntax: System.String
    ); 
    public function AddPixelData( 
       Data : System.Object,
       TransferSyntax : System.String
    );
    public: void AddPixelData( 
       System.Object* Data,
       System.string* TransferSyntax
    ) 
    public:
    void AddPixelData( 
       System.Object^ Data,
       System.String^ TransferSyntax
    ) 

    Parameters

    Data

    The Byte Array to be added to the Pixel Attribute (7FE0, 0010) of the DataSet

    TransferSyntax

    Specifies the UID of the transfer syntax in which the data is coded. If omitted, the little-endian explicit VR transfer syntax is used.

    Remarks
    This method overwrites the pixel data (if present) in the DicomDataSet object.
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also