Specifies Meta-header flags, Transfer Syntax flags, and other flags that indicate the file characteristics to use when saving the file.
[FlagsAttribute()]
public enum DicomDataSetSaveFlags
<FlagsAttribute()>
Public Enum DicomDataSetSaveFlags
public class DicomDataSetSaveFlags
[FlagsAttribute()]
public enum class DicomDataSetSaveFlags
Value | Member | Description |
---|---|---|
0x00000000 | None | Save the Data Set using the characteristics used when loading the Data Set. This can be used with compressed or uncompressed images. |
0x00000001 | MetaHeaderPresent | The Meta-header is present. This can be used with compressed or uncompressed images. |
0x00000002 | MetaHeaderAbsent | The Meta-header is absent. This can be used only with uncompressed images. |
0x00000004 | LittleEndian | The byte order of the Data Set is Little Endian. This can be used with compressed or uncompressed images. |
0x00000008 | BigEndian | The byte order of the Data Set is Big Endian. This can be used only with uncompressed images. |
0x00000010 | ImplicitVR | The Value Representation of the Data Set is Implicit. This can be used only with uncompressed images. |
0x00000020 | ExplicitVR | The Value Representation of the Data Set is Explicit. This can be used with compressed or uncompressed images. |
0x00000040 | GroupLengths | Include an entry in the file for each group with the group number and the number of elements that group has. |
0x00000080 | LengthExplicit | The length of a sequence, in bytes, is encoded as a 32-bits integer and no Sequence delimitation item is included at the end of the sequence. |
0x00000100 | ExcludeMetaHeaderGroup | Elements with the tag number 0x0002xxxx will not be saved in the file. |
You can use bitwise OR operations to specify one flag/combination from each of the following groups.
Group | Flags/Combinations |
---|---|
Meta-header | None, MetaHeaderPresent, MetaHeaderAbsent |
Transfer Syntax | None, LittleEndian, BigEndian, ImplicitVR, ExplicitVR, LittleEndian | ImplicitVR (only with uncompressed images), BigEndian | ExplicitVR (only with uncompressed images), LittleEndian | ExplicitVR (with compressed or uncompressed images) |
Other Options | None, GroupLengths, LengthExplicit, ExcludeMetaHeaderGroup, GroupLengths | LengthExplicit |
For Android/Java users: The constant members of this class are defined using all capital letters with underscores between words.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document