DicomObjects.NET.8.48 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 System.String, _
       ByVal GetData As System.Func(Of Integer,Stream) _
    ) 
    'Usage
     
    
    Dim instance As DicomImage
    Dim TransferSyntax As System.String
    Dim GetData As System.Func(Of Integer,Stream)
     
    instance.SetPixelData(TransferSyntax, GetData)
    public void SetPixelData( 
       System.string TransferSyntax,
       System.Func<int,Stream> GetData
    )
    public procedure SetPixelData( 
        TransferSyntax: System.String;
        GetData: System.Func
    ); 
    public function SetPixelData( 
       TransferSyntax : System.String,
       GetData : System.Func
    );
    public: void SetPixelData( 
       System.string* TransferSyntax,
       System.Func<int,Stream*>* GetData
    ) 
    public:
    void SetPixelData( 
       System.String^ TransferSyntax,
       System.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: .NET CLR 4.8 or higher

    See Also