DicomObjects.NET Core 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 Boolean
    'Usage
     
    
    Dim value As Boolean
     
    DicomGlobal.Assume2022Escapes = value
     
    value = DicomGlobal.Assume2022Escapes
    public static bool Assume2022Escapes {get; set;}
    public:
    static property bool Assume2022Escapes {
       bool get();
       void set (    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: 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