DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomImage Class / SetPixelDataAndImport Method
The transfer syntax of the data provided via the GetData function
Number of frames that would get imported
User defined function to return the correct data stream to be imported






In This Topic
    SetPixelDataAndImport Method
    In This Topic
    Method to import pixel data directly from a non-DICOM data
    Syntax
    'Declaration
     
    
    Public Sub SetPixelDataAndImport( _
       ByVal TransferSyntax As System.String, _
       ByVal FrameCount As System.Integer, _
       ByVal GetData As System.Func(Of Integer,Stream) _
    ) 
    'Usage
     
    
    Dim instance As DicomImage
    Dim TransferSyntax As System.String
    Dim FrameCount As System.Integer
    Dim GetData As System.Func(Of Integer,Stream)
     
    instance.SetPixelDataAndImport(TransferSyntax, FrameCount, GetData)
    public void SetPixelDataAndImport( 
       System.string TransferSyntax,
       System.int FrameCount,
       System.Func<int,Stream> GetData
    )
    public procedure SetPixelDataAndImport( 
        TransferSyntax: System.String;
        FrameCount: System.Integer;
        GetData: System.Func
    ); 
    public function SetPixelDataAndImport( 
       TransferSyntax : System.String,
       FrameCount : System.int,
       GetData : System.Func
    );
    public: void SetPixelDataAndImport( 
       System.string* TransferSyntax,
       System.int FrameCount,
       System.Func<int,Stream*>* GetData
    ) 
    public:
    void SetPixelDataAndImport( 
       System.String^ TransferSyntax,
       System.int FrameCount,
       System.Func<int,Stream^>^ GetData
    ) 

    Parameters

    TransferSyntax
    The transfer syntax of the data provided via the GetData function
    FrameCount
    Number of frames that would get imported
    GetData
    User defined function to return the correct data stream to be imported
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also