DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / ReadBehaviours Class / TolerateBadOffsets Property






    TolerateBadOffsets Property
    Ignore bad "offset" data when reading a DICOMDIR
    Syntax
    'Declaration
     
    
    Public Property TolerateBadOffsets As System.Boolean
     
    'Usage
     
    
    Dim instance As ReadBehaviours
    Dim value As System.Boolean
     
    instance.TolerateBadOffsets = value
     
    value = instance.TolerateBadOffsets
    Remarks

    The default value of this property is derived from the TolerateBadOffsets value of the internal registry, which in turn has a default value of 0, causing this property to be false.

    Setting this to true may enable some otherwise unreadable DICOMDIR files to the read, but as the bizarre mechanism used to organise DICOMDIR files is based on using offsets, the resulting DicomDataSet may not be a complete representation of the file.

    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also