LEADTOOLS Medical (Leadtools.Dicom assembly)
LEAD Technologies, Inc

SaveAsync(String,DicomDataSetSaveFlags) Method








Character string that contains the name of the file.
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. .NET support WinRT support
Syntax
public IAsyncOperation<bool> SaveAsync( 
   string path,
   DicomDataSetSaveFlags flags
)
'Declaration
 
Public Overloads Function SaveAsync( _
   ByVal path As String, _
   ByVal flags As DicomDataSetSaveFlags _
) As IAsyncOperation(Of Boolean)
'Usage
 
Dim instance As DicomDataSet
Dim path As String
Dim flags As DicomDataSetSaveFlags
Dim value As IAsyncOperation(Of Boolean)
 
value = instance.SaveAsync(path, flags)
public IAsyncOperation<bool> SaveAsync( 
   string path,
   DicomDataSetSaveFlags flags
)
ObjectiveC Syntax
 function Leadtools.Dicom.DicomDataSet.SaveAsync(String,DicomDataSetSaveFlags)( 
   path ,
   flags 
)
public:
IAsyncOperation<bool>^ SaveAsync( 
   String^ path,
   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, false otherwise.
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.

Example
For an example, refer to SetIntValue(DicomElement,IntPtr,Int32).
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

Reference

DicomDataSet Class
DicomDataSet Members
Overload List
Load(String,DicomDataSetLoadFlags) Method

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

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