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 )
ObjectiveC Syntax
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.
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