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






In This Topic
    IgnoreIconLengths Property
    In This Topic
    Ignore the lengths of the pixel data in icon sequences
    Syntax
    'Declaration
     
    
    Public Property IgnoreIconLengths As System.Boolean
    'Usage
     
    
    Dim instance As ReadBehaviours
    Dim value As System.Boolean
     
    instance.IgnoreIconLengths = value
     
    value = instance.IgnoreIconLengths
    public System.bool IgnoreIconLengths {get; set;}
    public read-write property IgnoreIconLengths: System.Boolean; 
    public function get,set IgnoreIconLengths : System.boolean
    public: __property System.bool get_IgnoreIconLengths();
    public: __property void set_IgnoreIconLengths( 
       System.bool value
    );
    public:
    property System.bool IgnoreIconLengths {
       System.bool get();
       void set (    System.bool value);
    }
    Remarks

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

    Many manufacturers (including the largest!) still create images containing ICON images (either in the official DICOM icon sequence - 0088,0200 or in private sequences) which are badly formatted with innappropriate length (commonly being compressed, when the DICOM rules require them to be compressed). If set, this property causes such pixel data to be treated simply as a byte array, ignoring the length (but disabling transfer syntax conversion of it)

    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also