Specifies flags to be used with the SaveXml methods.
[FlagsAttribute()]
public enum DicomDataSetSaveXmlFlags
<FlagsAttribute()>
Public Enum DicomDataSetSaveXmlFlags
[FlagsAttribute()]
public enum class DicomDataSetSaveXmlFlags
Members
Value | Member | Description |
---|---|---|
0x00000000 | None | Pass this value if you do not want to use any other flags. The default values will be used. |
0x00000001 | IgnoreBinaryData | If a DICOM element contains binary data, do not write the binary data to the output XML file. The element itself is still exported, but has no data. |
0x00000002 | IgnoreAllData | Do not write any data (binary, text, etc.) for the DICOM elements to the output XML file. All elements are still exported, but have no data. |
0x00000004 | EncodeBinaryBase64 | Encode all binary data as Base64. This is the default behavior. |
0x00000008 | EncodeBinaryBinHex | Encode all binary data as BinHex. This overrides the default behavior of encoding binary data as Base64. |
0x00000010 | TagWithCommas | When writing DICOM tags to the output XML file, use commas. For example, write the tag for SOPClassUID as '0008,0016' instead of '00080016' |
0x00000020 | TrimWhiteSpace | When writing data to the output XML file, trim leading and trailing white spaces. |
0x00000040 | NativeDicomModel | Use as the XML output format the Native DICOM model described in PS3.19 of the DICOM Specification. For an example, refer to SaveXmlData.BinaryType. |
0x00000080 | WriteFullEndElement | Write the full XML end element, instead of a single element (i.e. instead of ). |
0x00000100 | IgnorePixelData | Do not include the pixel data element in the resulting XML. |
0x00000200 | InlineBinary | Encode all binary data as InlineBinary, which is coded as Base64. The following flags are only used with the Native DICOM Model, and affect how binary data is written. Unless the NativeDicomModel is also included, all of the following flags are ignored. Callers can pass one or more of the three flags. If more than one of the flags is passed, precedence is given in the order that they appear below.
|
0x00000400 | BulkDataUri | Write all binary data as BulkDataUri, with a dummy Uri. The following flags are only used with the Native DICOM Model, and affect how binary data is written. Unless the NativeDicomModel flag is also included, all of the following flags are ignored. Callers can pass one or more of the following three flags. If more than one of the flags is passed, precedence is given in the order that they appear below.
|
0x00000800 | BulkDataUuid | Write all binary data as BulkData, with a dummy uuid attribute. This is the default behavior. The following flags are only used with the Native DICOM Model, and affect how binary data is written. Unless the NativeDicomModel is also included, all of the following flags are ignored. Callers can pass one or more of the three flags. If more than one of the flags is passed, precedence is given in the order that they appear below.
|
0x00001000 | NativeNoModifyPrivateElements | PS3.19 of the DICOM Specification states that a Private Data Element has the form gggg00ee, where the two most significant hexadecimal values of the element number are set to 00. Pass the 'NativeNoModifyPrivateElements' flag to preserve the upper two most significant hexadecimal values of the element. |
For an example, refer to LoadXml.
Leadtools.Dicom.Common.Extensions Namespace
LoadXml(DicomDataSet,String,DicomDataSetLoadXmlFlags) Method
LoadXml(DicomDataSet,Stream,DicomDataSetLoadXmlFlags) Method
SaveXml(DicomDataSet,String,DicomDataSetSaveXmlFlags,SaveXmlCallback) Method
SaveXml(DicomDataSet,Stream,DicomDataSetSaveXmlFlags,SaveXmlCallback) Method
SaveXml(DicomDataSet,String,DicomDataSetSaveXmlFlags) Method
SaveXml(DicomDataSet,Stream,DicomDataSetSaveXmlFlags) Method
Products |
Support |
Feedback: DicomDataSetSaveXmlFlags Enumeration - Leadtools.Dicom.Common |
Introduction |
Help Version 19.0.2017.6.23
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.