←Select platform

LoadXml(DicomDataSet,Stream,DicomDataSetLoadXmlFlags) Method

Summary

Loads a stream containing a DICOM-encoded XML file.

Syntax

C#
VB
C++
<ExtensionAttribute()> 
Public Overloads Shared Sub LoadXml( _ 
   ByVal ds As Leadtools.Dicom.DicomDataSet, _ 
   ByVal stream As Stream, _ 
   ByVal xmlFlags As Leadtools.Dicom.Common.Extensions.DicomDataSetLoadXmlFlags _ 
)  
[ExtensionAttribute()] 
public: 
static void LoadXml(  
   Leadtools.Dicom.DicomDataSet^ ds, 
   Stream^ stream, 
   Leadtools.Dicom.Common.Extensions.DicomDataSetLoadXmlFlags xmlFlags 
)  

Parameters

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

stream
The name of the input XML file.

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

Remarks

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

Example

For an example, refer to LoadXml.

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