DicomObjects.NET8 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. 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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also