←Select platform

LoadJson(DicomDataSet,Stream,DicomDataSetLoadJsonFlags) Method

Summary

Loads a stream containing a DICOM-encoded JSON file.

Syntax

C#
VB
C++
<ExtensionAttribute()> 
Public Overloads Shared Sub LoadJson( _ 
   ByVal ds As Leadtools.Dicom.DicomDataSet, _ 
   ByVal stream As Stream, _ 
   ByVal jsonFlags As Leadtools.Dicom.Common.Extensions.DicomDataSetLoadJsonFlags _ 
)  
[ExtensionAttribute()] 
public: 
static void LoadJson(  
   Leadtools.Dicom.DicomDataSet^ ds, 
   Stream^ stream, 
   Leadtools.Dicom.Common.Extensions.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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Dicom.Common Assembly
Click or drag to resize