DicomTagToStringOptions Enumeration (original) (raw)
Syntax
public enum DicomTagToStringOptions
public:
enum class DicomTagToStringOptions sealed
Members
Value | Member | Description |
---|---|---|
0 | None | No formatting. |
1 | Comma | Insert a comma in the middle of the eight hexadecimal digits. |
2 | Parenthesis | Wrap the hexadecimal representation in parenthesis. |
Remarks
DicomTagToStringOptions is used by the DicomTagToString(long,DicomTagToStringOptions) method to specify formatting options.
The following table illustrates how PatientID (0010,0020) is formatted using the different options.
Option | Result |
---|---|
DicomTagToStringOptions.None | 00100020 |
DicomTagToStringOptions.Comma | 0010,0020 |
DicomTagToStringOptions.Parenthesis | (00100020) |
DicomTagToStringOptions.Comma + DicomTagToStringOptions.Parenthesis | (0010,0020) |
Leadtools.Dicom.Common Assembly