←Select platform

ToByteArray Method

Summary

Converts the data set to a byte array.

Syntax

C#
VB
C++
[ExtensionAttribute()] 
public static byte[] ToByteArray( 
   DicomDataSet dataset, 
   DicomDataSetSaveFlags saveFlags 
) 
<ExtensionAttribute()> 
Public Shared Function ToByteArray( _ 
   ByVal dataset As Leadtools.Dicom.DicomDataSet, _ 
   ByVal saveFlags As Leadtools.Dicom.DicomDataSetSaveFlags _ 
) As Byte() 
[ExtensionAttribute()] 
public: 
static array<byte>^ ToByteArray(  
   Leadtools.Dicom.DicomDataSet^ dataset, 
   Leadtools.Dicom.DicomDataSetSaveFlags saveFlags 
)  

Parameters

dataset
The data set to save.

saveFlags
Specifies Meta-header flags, Transfer Syntax flags, and other flags that indicate the file characteristics to use when saving the file.

Return Value

A new byte array representing the original DICOM data set.

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