←Select platform

LoadJson(DicomDataSet,string,DicomDataSetLoadJsonFlags) Method

Summary

Loads the contents of a DICOM-encoded JSON file.

Syntax

C#
VB
C++
[ExtensionAttribute()] 
public static void LoadJson( 
   DicomDataSet ds, 
   string fileName, 
   DicomDataSetLoadJsonFlags jsonFlags 
) 
<ExtensionAttribute()> 
Public Overloads Shared Sub LoadJson( _ 
   ByVal ds As Leadtools.Dicom.DicomDataSet, _ 
   ByVal fileName As String, _ 
   ByVal jsonFlags As Leadtools.Dicom.Common.Extensions.DicomDataSetLoadJsonFlags _ 
)  

Parameters

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

fileName
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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom.Common Assembly