DicomObjects.NetStandard 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 Boolean
    'Usage
     
    
    Dim instance As ReadBehaviours
    Dim value As Boolean
     
    instance.IgnoreIconLengths = value
     
    value = instance.IgnoreIconLengths
    public bool IgnoreIconLengths {get; set;}
    public:
    property bool IgnoreIconLengths {
       bool get();
       void set (    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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also