Error processing SSI file
Leadtools.Dicom.Common

Show in webframe

ToByteArray Method






The data set to save.
Specifies Meta-header flags, Transfer Syntax flags, and other flags that indicate the file characteristics to use when saving the file.
Converts the data set to a byte array.
Syntax
'Declaration
 
<ExtensionAttribute()>
Public Shared Function ToByteArray( _
   ByVal dataset As DicomDataSet, _
   ByVal saveFlags As DicomDataSetSaveFlags _
) As Byte()
'Usage
 
Dim dataset As DicomDataSet
Dim saveFlags As DicomDataSetSaveFlags
Dim value() As Byte
 
value = DicomExtensions.ToByteArray(dataset, 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

See Also

Reference

DicomExtensions Class
DicomExtensions Members

Error processing SSI file
   Leadtools.Dicom.Common requires a Medical toolkit license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features