DicomDataSetSaveJsonFlags Enumeration

Summary

Specifies flags to be used with the SaveJson methods.

Syntax
C#
VB
C++
[FlagsAttribute()] 
public enum DicomDataSetSaveJsonFlags   
<FlagsAttribute()> 
Public Enum DicomDataSetSaveJsonFlags  
[FlagsAttribute()] 
public enum class DicomDataSetSaveJsonFlags   

Members
ValueMemberDescription
0x00000000None Pass this value if you do not want to use any other flags. Default values will be used.
0x00000001IgnoreBinaryData If a DICOM element contains binary data, do not write the binary data to the output JSON file. The element itself is still exported, but has no data.
0x00000002IgnoreAllData Do not write any data (binary, text, etc.) for the DICOM elements to the output JSON file. All elements are still exported, but have no data.
0x00000020TrimWhiteSpace When writing data to the output XML file, trim leading and trailing white spaces.
0x00000100IgnorePixelData Do not write the pixel data elements to the output JSON file.
0x00000200InlineBinary Encode all binary data as InlineBinary, which is coded as Base64. InlineBinary is one of two flags, shown in the following list, that affect how binary data is written.
  • InlineBinary
  • BulkDataUri
If neither of these two flags are passed, the default behavior is BulkDataUri. If both of these flags are passed, InlineBinary takes precedence, but the BulkDataUri flag will cause the SaveJsonCallback to generate a value for BulkDataUri For an example, refer to SaveJson.
0x00000400BulkDataUri Write all binary data as BulkDataUri, using a dummy URI. This is the default behavior. BulkDataUri is one of two flags, shown in the following list, that affect how binary data is written.
  • InlineBinary
  • BulkDataUri
If neither flag is passed, the default behavior is BulkDataUri. If both flags are passed, InlineBinary takes precedence, but the BulkDataUri flag will cause the SaveJsonCallback to generate a value for BulkDataUri.
0x00002000WriteKeyword Include the 'keyword' member for each JSON object DICOM element.
0x00004000Minify Minify the JSON by removing comments and whitespace.

Example

For an example, refer to SaveJson.

Requirements

Target Platforms

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom.Common Assembly