DicomObjects.NET.V8
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
    Remarks
    Experimental method, please contact support@medicalconnections.co.uk for more info
    Requirements

    Target Platforms: .NET CLR 3.5 or higher

    See Also