DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / WriteBehaviours Class / AllowOddLengths Property






    AllowOddLengths Property
    Allows data to do be written with odd lengths
    Syntax
    'Declaration
     
    
    Public Property AllowOddLengths As System.Boolean
     
    'Usage
     
    
    Dim instance As WriteBehaviours
    Dim value As System.Boolean
     
    instance.AllowOddLengths = value
     
    value = instance.AllowOddLengths
    Remarks

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

    Data written with this property set does not conform to the DICOM standard, and this property should only be used either for testing, or when re-writing faulty files in an environment where bit-preservation is expected.

    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also