DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / WriteBehaviours Class / OmitBOT Property






In This Topic
    OmitBOT Property
    In This Topic
    Controls whether to write a Basic Offset Table (BOT) for encapsulated (compressed) pixel data.
    Syntax
    'Declaration
     
    
    <System.ObsoleteAttribute("Please use SeekableBotHandling & NonSeekableBotHandling for finer control")>
    Public Property OmitBOT As System.Boolean
    'Usage
     
    
    Dim instance As WriteBehaviours
    Dim value As System.Boolean
     
    instance.OmitBOT = value
     
    value = instance.OmitBOT
    [System.Obsolete("Please use SeekableBotHandling & NonSeekableBotHandling for finer control")]
    public System.bool OmitBOT {get; set;}
    public read-write property OmitBOT: System.Boolean; 
    System.ObsoleteAttribute("Please use SeekableBotHandling & NonSeekableBotHandling for finer control")
    public function get,set OmitBOT : System.boolean
    [System.Obsolete("Please use SeekableBotHandling & NonSeekableBotHandling for finer control")]
    public: __property System.bool get_OmitBOT();
    public: __property void set_OmitBOT( 
       System.bool value
    );
    [System.Obsolete("Please use SeekableBotHandling & NonSeekableBotHandling for finer control")]
    public:
    property System.bool OmitBOT {
       System.bool get();
       void set (    System.bool value);
    }
    Remarks

    The default value of this property is derived from the OmitBOT value of the internal registry, which in turn has a default value of 0, causing this property to be false, causing the BOT to be written as normal

    Setting this to true does not cause the BOT to be omited completely (as that would contavene DICOM rules) - instead it causes it to be zero lngth, which is permissible.

    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also