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



name
The name of the DICOMDIR File.
flags
Meta-header flags and Transfer Syntax flags that indicate the file characteristics to use when loading the file.
name
The name of the DICOMDIR File.
flags
Meta-header flags and Transfer Syntax flags that indicate the file characteristics to use when loading the file.
Loads the DICOM Directory Data Set from the specified file.

Syntax

Visual Basic (Declaration) 
Public Sub Load( _
   ByVal name As String, _
   ByVal flags As DicomDataSetLoadFlags _
) 
Visual Basic (Usage)Copy Code
Dim instance As DicomDir
Dim name As String
Dim flags As DicomDataSetLoadFlags
 
instance.Load(name, flags)
C# 
public void Load( 
   string name,
   DicomDataSetLoadFlags flags
)
C++/CLI 
public:
void Load( 
   String^ name,
   DicomDataSetLoadFlags flags
) 

Parameters

name
The name of the DICOMDIR File.
flags
Meta-header flags and Transfer Syntax flags that indicate the file characteristics to use when loading the file.

Example

For an example, refer to DicomDir.Reset.

Remarks

In addition to loading the DICOM Directory Data Set, the method also sets the destination folder to the folder in which the specified DICOMDIR File resides. Additional DICOM files in this folder (and subfolders) can be added to the loaded Directory.

For more information, refer to Load(String,DicomDataSetLoadFlags).

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