LEADTOOLS Medical (Leadtools.Dicom assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
Save(Stream,DicomDataSetSaveFlags) Method
See Also 
Leadtools.Dicom Namespace > DicomDataSet Class > Save Method : Save(Stream,DicomDataSetSaveFlags) Method



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.
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.
Saves the Data Set to a stream. Supported in Silverlight, Windows Phone 7.

Syntax

Visual Basic (Declaration) 
Overloads Public Sub Save( _
   ByVal stream As Stream, _
   ByVal flags As DicomDataSetSaveFlags _
) 
Visual Basic (Usage)Copy Code
Dim instance As DicomDataSet
Dim stream As Stream
Dim flags As DicomDataSetSaveFlags
 
instance.Save(stream, flags)
C# 
public void Save( 
   Stream stream,
   DicomDataSetSaveFlags flags
)
C++/CLI 
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.

Example

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.

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also

Leadtools.Dicom requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features