DicomObjects.NET.V8
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 String, _
       ByVal FrameCount As Integer, _
       ByVal GetData As Func(Of Integer,Stream) _
    ) 
    'Usage
     
    Dim instance As DicomImage
    Dim TransferSyntax As String
    Dim FrameCount As Integer
    Dim GetData As Func(Of Integer,Stream)
     
    instance.SetPixelDataAndImport(TransferSyntax, FrameCount, GetData)
    public void SetPixelDataAndImport( 
       string TransferSyntax,
       int FrameCount,
       Func<int,Stream> GetData
    )
    public:
    void SetPixelDataAndImport( 
       String^ TransferSyntax,
       int FrameCount,
       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
    Remarks
    Experimental method, please contact support@medicalconnections.co.uk for more info
    Requirements

    Target Platforms: .NET CLR 4.0 or higher

    See Also