DicomObjects.NET8 Documentation
DicomObjects.EventArguments Namespace / ReceivingPixelDataArgs Class / ReceiveToStream Method
User-provided Stream object



In This Topic
    ReceiveToStream Method
    In This Topic
    Write the data received so far to a user-provided stream, and then pass received pixel data direct to that stream, without holding it all in memory
    Syntax
    'Declaration
     
    
    Public Sub ReceiveToStream( _
       ByVal stream As Stream _
    ) 
    'Usage
     
    
    Dim instance As ReceivingPixelDataArgs
    Dim stream As Stream
     
    instance.ReceiveToStream(stream)
    public void ReceiveToStream( 
       Stream stream
    )
    public:
    void ReceiveToStream( 
       Stream^ stream
    ) 

    Parameters

    stream
    User-provided Stream object
    Remarks

    The transfer syntax used for the stream is always the same as that received over the network

    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