DicomObjects.NET.V8
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)
    public void Read( 
       Stream Stream,
       ReadBehaviours readBehaviours
    )
    public:
    void Read( 
       Stream^ Stream,
       ReadBehaviours^ 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: .NET CLR 4.0 or higher

    See Also