DicomObjects.NET.V8
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 Boolean
    'Usage
     
    Dim instance As WriteBehaviours
    Dim value As Boolean
     
    instance.AllowOddLengths = value
     
    value = instance.AllowOddLengths
    public bool AllowOddLengths {get; set;}
    public:
    property bool AllowOddLengths {
       bool get();
       void set (    bool value);
    }
    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 3.5 or higher

    See Also