Leadtools.Dicom Namespace > DicomDirOptions Structure : RejectInvalidFileId Property |
public bool RejectInvalidFileId {get; set;}
'Declaration Public Property RejectInvalidFileId As Boolean
'Usage Dim instance As DicomDirOptions Dim value As Boolean instance.RejectInvalidFileId = value value = instance.RejectInvalidFileId
public bool RejectInvalidFileId {get; set;}
ObjectiveC Syntax
Java Syntax
get_RejectInvalidFileId();
set_RejectInvalidFileId(value);
"C:\DICOM Images\Sub1\Sub2\Sub3\Sub4\Sub5\Sub6\Sub7\Sub8\Brain"
"C:\DICOM Images\Patient 1\CT-10-Knee.dic"
The first filename is rejected because the number of components in the File ID exceeds 8 (there are 9 components, starting from "Sub1"). The second filename is rejected because the number of characters in the last component, which is the short format of "CT-10-Knee.dic" (e.g., "CT-10-~1.dic") exceeds 8. On the other hand, the following filenames will not be rejected:
"C:\DICOM Images\Sub1\Sub2\Sub3\Sub4\Sub5\Sub6\Sub7\Brain"
"C:\DICOM Images\ Patient 1\Knee.dic"
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