DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomGlobal Class / Assume2022Escapes Property






In This Topic
    Assume2022Escapes Property
    In This Topic
    Controls whether DicomObjects attempts to locate unannounced 2022 escape sequences
    Syntax
    'Declaration
     
    
    Public Shared Property Assume2022Escapes As System.Boolean
    'Usage
     
    
    Dim value As System.Boolean
     
    DicomGlobal.Assume2022Escapes = value
     
    value = DicomGlobal.Assume2022Escapes
    public static System.bool Assume2022Escapes {get; set;}
    public read-write property Assume2022Escapes: System.Boolean; static; 
    public static function get,set Assume2022Escapes : System.boolean
    public: __property static System.bool get_Assume2022Escapes();
    public: __property static void set_Assume2022Escapes( 
       System.bool value
    );
    public:
    static property System.bool Assume2022Escapes {
       System.bool get();
       void set (    System.bool value);
    }
    Remarks
    Officiallly in DICOM, ISO 2022 character escape may ONLY be used if the the specific character set (0008,0005) lists both the initial character set in its 2022 form (e.g. "ISO 2022 IR 100" in place of "ISO_IR 100" and also contains a list of all character sets that could be used. In practice however, some modality equipment suppliers don't bother to include 0008,0005 in their data at all, or fail to use the 2022-specific variant. This property, if true (the default value) allows DicomObjects to check whether a string contains any escape (0x1B) characters, and if it does, to assume 2022 mode (thereby enabling chages of character set) even in the absence of a marker in (0008,0005).
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also