LoadJson(DicomDataSet,Stream,DicomDataSetLoadJsonFlags) Method

Summary
Loads a stream containing a DICOM-encoded JSON file.
Syntax
C#
VB
C++
public static void LoadJson( 
   this DicomDataSet ds, 
   Stream stream, 
   DicomDataSetLoadJsonFlags jsonFlags 
) 
<ExtensionAttribute()> 
Public Overloads Shared Sub LoadJson( _ 
   ByVal ds As DicomDataSet, _ 
   ByVal stream As Stream, _ 
   ByVal jsonFlags As DicomDataSetLoadJsonFlags _ 
)  
[ExtensionAttribute()] 
public: 
static void LoadJson(  
   DicomDataSet^ ds, 
   Stream^ stream, 
   DicomDataSetLoadJsonFlags jsonFlags 
)  

Parameters

ds
The Data Set that will be created and populated with the contents of the DICOM JSON input file.

stream
The name of the input JSON file.

jsonFlags
Flags that affect whether to ignore binary or all data from the DICOM JSON input file.

Remarks

Use this method to read the contents of a DICOM JSON file. The DICOM JSON file can be created using SaveJson By default, all binary data is read from the DICOM input JSON file, but this behavior can be modified by passing appropriate DicomDataSetLoadJsonFlags

Example

For an example, refer to LoadJson.

Requirements

Target Platforms

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

Leadtools.Dicom.Common Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.