DicomObjects.NetStandard Documentation
DicomObjects Namespace / DicomImage Class / Write Method / Write(Stream,String) Method

The Stream from which to read.

Specifies the full UID of the transfer syntax with which the data is to be saved when Part 10 format is used. If omitted, the little-endian explicit VR transfer syntax is used. For details of the currently supported syntaxes, see .




In This Topic
    Write(Stream,String) Method
    In This Topic
    Write the data to a stream with specified transfer syntax
    Syntax
    'Declaration
     
    
    Public Overloads Sub Write( _
       ByVal Stream As Stream, _
       ByVal TransferSyntax As String _
    ) 
    'Usage
     
    
    Dim instance As DicomImage
    Dim Stream As Stream
    Dim TransferSyntax As String
     
    instance.Write(Stream, TransferSyntax)
    public void Write( 
       Stream Stream,
       string TransferSyntax
    )
    public:
    void Write( 
       Stream^ Stream,
       String^ TransferSyntax
    ) 

    Parameters

    Stream

    The Stream from which to read.

    TransferSyntax

    Specifies the full UID of the transfer syntax with which the data is to be saved when Part 10 format is used. If omitted, the little-endian explicit VR transfer syntax is used. For details of the currently supported syntaxes, see .

    Remarks
    The stream object may subsequently be read by one of the Read method overloads 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