DicomObjects.NET8 Documentation
DicomObjects Namespace / DicomImage Class / Read Method / Read(Stream,ReadBehaviours) Method

The Stream from which to read.

ReadBehavioursObject to control individual read operation



In This Topic
    Read(Stream,ReadBehaviours) Method
    In This Topic
    Reads from a system IO stream
    Syntax
    'Declaration
     
    
    Public Overloads Sub Read( _
       ByVal Stream As Stream, _
       Optional ByVal readBehaviours As ReadBehaviours _
    ) 
    'Usage
     
    
    Dim instance As DicomImage
    Dim Stream As Stream
    Dim readBehaviours As ReadBehaviours
     
    instance.Read(Stream, readBehaviours)

    Parameters

    Stream

    The Stream from which to read.

    readBehaviours
    ReadBehavioursObject to control individual read operation
    Remarks

    This method can read streams in either official "Part10" format, with the 128 byte header, or unofficial "Part5" format, without a header. Detection of the type is automatic.

    The stream may have been written by the Write method or by other DICOM software.

    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