DicomObjects.NET8 Documentation
DicomObjects Namespace / DicomImage Class / SetPixelData Method
The transfer syntax of the data provided via the GetData function
User defined function to return the correct pixel data stream for the requested frame number



In This Topic
    SetPixelData Method
    In This Topic
    Method to set pixel data directly from a stream
    Syntax
    'Declaration
     
    
    Public Sub SetPixelData( _
       ByVal TransferSyntax As String, _
       ByVal GetData As Func(Of Integer,Stream) _
    ) 
    'Usage
     
    
    Dim instance As DicomImage
    Dim TransferSyntax As String
    Dim GetData As Func(Of Integer,Stream)
     
    instance.SetPixelData(TransferSyntax, GetData)
    public void SetPixelData( 
       string TransferSyntax,
       Func<int,Stream> GetData
    )
    public:
    void SetPixelData( 
       String^ TransferSyntax,
       Func<int,Stream^>^ GetData
    ) 

    Parameters

    TransferSyntax
    The transfer syntax of the data provided via the GetData function
    GetData
    User defined function to return the correct pixel data stream for the requested frame number
    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