Error processing SSI file
Leadtools.Dicom.Common

Show in webframe

DicomDataSetSaveJsonFlags Enumeration






Specifies flags to be used with the SaveJson methods.
Syntax
'Declaration
 
<FlagsAttribute()>
Public Enum DicomDataSetSaveJsonFlags 
   Inherits System.Enum
   Implements System.IComparable, System.IConvertible, System.IFormattable 
'Usage
 
Dim instance As DicomDataSetSaveJsonFlags
[FlagsAttribute()]
public enum class DicomDataSetSaveJsonFlags : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable  
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.
Example
For an example, refer to SaveJson.
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.Dicom.Common.Extensions.DicomDataSetSaveJsonFlags

Requirements

Target Platforms

See Also

Reference

Leadtools.Dicom.Common.Extensions Namespace
SaveJson(DicomDataSet,String,DicomDataSetSaveJsonFlags,SaveJsonCallback) Method
SaveJson(DicomDataSet,Stream,DicomDataSetSaveJsonFlags,SaveJsonCallback) Method
SaveJson(DicomDataSet,String,DicomDataSetSaveJsonFlags) Method
SaveJson(DicomDataSet,Stream,DicomDataSetSaveJsonFlags) Method
SaveJsonCallback Delegate

Error processing SSI file
   Leadtools.Dicom.Common requires a Medical toolkit license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features