←Select platform

Save(Stream,DicomDataSetSaveFlags) Method

Summary
Saves the Data Set to a stream.
Syntax
C#
VB
C++
Java
public void Save( 
   Stream stream, 
   DicomDataSetSaveFlags flags 
) 
Public Overloads Sub Save( _ 
   ByVal stream As Stream, _ 
   ByVal flags As DicomDataSetSaveFlags _ 
)  
public void save(ILeadStream stream, int flags) 
public: 
void Save(  
   Stream^ stream, 
   DicomDataSetSaveFlags flags 
)  

Parameters

stream
Output stream that will contain the saved data set.

flags
Meta-header flags, Transfer Syntax flags, and other flags that indicate the file characteristics to use when saving the file.

Remarks

If the Data Set was loaded from a file, the file characteristics were included when the file was loaded. If you wish to use these same characteristics, save the Data Set with flags set to DicomDataSetSaveFlags.None. If you wish to specify the file characteristics for saving the data set, set the characteristics using the possible values for flags.

Example

For an example, refer to DicomDataSet.Load(Stream, DicomDataSetLoadFlags).

Requirements

Target Platforms

Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.