DicomObjects.NetStandard Documentation
DicomObjects Namespace / ReadBehaviours Class / IgnoreAfterPixels Property



In This Topic
    IgnoreAfterPixels Property
    In This Topic
    Controls whether all data after the pixel data is to be ignored.
    Syntax
    'Declaration
     
    
    Public Property IgnoreAfterPixels As Boolean
    'Usage
     
    
    Dim instance As ReadBehaviours
    Dim value As Boolean
     
    instance.IgnoreAfterPixels = value
     
    value = instance.IgnoreAfterPixels
    public bool IgnoreAfterPixels {get; set;}
    public:
    property bool IgnoreAfterPixels {
       bool get();
       void set (    bool value);
    }
    Remarks

    It may give the following advantages in some situations:

    • When there is rubbish at the end of the file
    • When reading very large compressed files, as it avoids the need to scan to the end of the pixel data.

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

    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