←Select platform

DicomDataSetSaveFlags Enumeration

Summary

Specifies Meta-header flags, Transfer Syntax flags, and other flags that indicate the file characteristics to use when saving the file.

Syntax

C#
VB
Java
WinRT C#
C++
[FlagsAttribute()] 
public enum DicomDataSetSaveFlags   
<FlagsAttribute()> 
Public Enum DicomDataSetSaveFlags  
    
    
[FlagsAttribute()] 
public enum DicomDataSetSaveFlags    
public class DicomDataSetSaveFlags 
Leadtools.Dicom.DicomDataSetSaveFlags = function() { }; 
Leadtools.Dicom.DicomDataSetSaveFlags.prototype = { 
 
  None = 0x00000000, 
    MetaHeaderPresent = 0x00000001, 
    MetaHeaderAbsent = 0x00000002, 
    LittleEndian = 0x00000004, 
    BigEndian = 0x00000008, 
    ImplicitVR = 0x00000010, 
    ExplicitVR = 0x00000020, 
    GroupLengths = 0x00000040, 
    LengthExplicit = 0x00000080, 
    ExcludeMetaHeaderGroup = 0x00000100, 
     
 }; 
[FlagsAttribute()] 
public enum class DicomDataSetSaveFlags   

Members

ValueMemberDescription
0x00000000None Save the Data Set using the characteristics used when loading the Data Set. This can be used with compressed or uncompressed images.
0x00000001MetaHeaderPresent The Meta-header is present. This can be used with compressed or uncompressed images.
0x00000002MetaHeaderAbsent The Meta-header is absent. This can be used only with uncompressed images.
0x00000004LittleEndian The byte order of the Data Set is Little Endian. This can be used with compressed or uncompressed images.
0x00000008BigEndian The byte order of the Data Set is Big Endian. This can be used only with uncompressed images.
0x00000010ImplicitVR The Value Representation of the Data Set is Implicit. This can be used only with uncompressed images.
0x00000020ExplicitVR The Value Representation of the Data Set is Explicit. This can be used with compressed or uncompressed images.
0x00000040GroupLengths Include an entry in the file for each group with the group number and the number of elements that group has.
0x00000080LengthExplicit 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.
0x00000100ExcludeMetaHeaderGroup Elements with the tag number 0x0002xxxx will not be saved in the file.
Remarks

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.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Dicom Assembly
Click or drag to resize