←Select platform

SaveAsync(String,DicomDataSetSaveFlags) Method

Summary

Saves the Data Set to the specified file.

Syntax

C#
VB
WinRT C#
C++
public IAsyncOperation<bool> SaveAsync(  
   string path, 
   Leadtools.Dicom.DicomDataSetSaveFlags flags 
) 
Public Overloads Function SaveAsync( _ 
   ByVal path As String, _ 
   ByVal flags As Leadtools.Dicom.DicomDataSetSaveFlags _ 
) As IAsyncOperation(Of Boolean) 
public IAsyncOperation<bool> SaveAsync(  
   string path, 
   Leadtools.Dicom.DicomDataSetSaveFlags flags 
) 
 function Leadtools.Dicom.DicomDataSet.SaveAsync(String,DicomDataSetSaveFlags)(  
   path , 
   flags  
) 
public: 
IAsyncOperation<bool>^ SaveAsync(  
   String^ path, 
   Leadtools.Dicom.DicomDataSetSaveFlags flags 
)  

Parameters

path
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.

Return Value

When this method completes, it returns the true if the dataset was saved; otherwise, it is false.

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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Dicom Assembly
Click or drag to resize