DicomObjects.NET8 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 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
    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