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

In This Topic
    AllowOddLengths Property
    In This Topic
    Allows data to do be written with odd lengths
    Syntax
    'Declaration
     
    
    Public Property AllowOddLengths As System.Boolean
    public System.bool AllowOddLengths {get; set;}
    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