Leadtools.Dicom Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
Save Method
See Also 
Leadtools.Dicom Namespace > DicomDataSet Class : Save Method




name
Character string that contains the name of the file.
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 the specified file.

Syntax

Visual Basic (Declaration) 
Public Sub Save( _
   ByVal name As String, _
   ByVal flags As DicomDataSetSaveFlags _
) 
Visual Basic (Usage)Copy Code
Dim instance As DicomDataSet
Dim name As String
Dim flags As DicomDataSetSaveFlags
 
instance.Save(name, flags)
C# 
public void Save( 
   string name,
   DicomDataSetSaveFlags flags
)
Managed Extensions for C++ 
public: void Save( 
   string* name,
   DicomDataSetSaveFlags flags
) 
C++/CLI 
public:
void Save( 
   String^ name,
   DicomDataSetSaveFlags flags
) 

Parameters

name
Character string that contains the name of the file.
flags
Meta-header flags, Transfer Syntax flags, and other flags that indicate the file characteristics to use when saving the file.

Example

For an example, refer to SetIntValue.

Remarks

If the Data Set was loaded from a file, the file characteristics were included from the file. 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 file, set the characteristics using the possible values for flags.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

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