Leadtools.Dicom Namespace > DicomDir Class : SetDescriptorFile Method |
public void SetDescriptorFile( string fileName, string characterSet )
'Declaration Public Sub SetDescriptorFile( _ ByVal fileName As String, _ ByVal characterSet As String _ )
'Usage Dim instance As DicomDir Dim fileName As String Dim characterSet As String instance.SetDescriptorFile(fileName, characterSet)
public void SetDescriptorFile( string fileName, string characterSet )
function Leadtools.Dicom.DicomDir.SetDescriptorFile( fileName , characterSet )
public: void SetDescriptorFile( String^ fileName, String^ characterSet )
If the name of a descriptor file is to be specified, then before using this method, a destination folder must have been specified, either at construction time or later, using the method Reset. Otherwise, the method will fail.
The descriptor filename must refer to an existing file that resides in the destination folder or in a subfolder of the destination folder. Otherwise, the method will fail. Please notice that the filename passed to the method must specify the absolute path of the file, not the relative one.