DicomObjects.NET.V8
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: .NET CLR 4.0 or higher

    See Also