DicomObjects.NET.V8
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. For details of the currently supported syntaxes, see the entry.




In This Topic
    AddPixelData Method
    In This Topic
    Adds pixel data to DicomDataSet
    Syntax
    'Declaration
     
    Public Sub AddPixelData( _
       ByVal Data As Object, _
       ByVal TransferSyntax As String _
    ) 
    'Usage
     
    Dim instance As DicomDataSet
    Dim Data As Object
    Dim TransferSyntax As String
     
    instance.AddPixelData(Data, TransferSyntax)
    public void AddPixelData( 
       object Data,
       string TransferSyntax
    )
    public:
    void AddPixelData( 
       Object^ Data,
       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. For details of the currently supported syntaxes, see the entry.

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

    Target Platforms: .NET CLR 4.0 or higher

    See Also