Retrieves a DICOM object buffer.
public byte[] GetDicomData(
string ,
bool ,
string ,
int ,
string
)
'Declaration
Public Function GetDicomData( _
ByVal As String, _
ByVal As Boolean, _
ByVal As String, _
ByVal As Integer, _
ByVal As String _
) As Byte()
'Usage
Dim instance As DicomWCFStreamer
Dim sopInstanceUID As String
Dim stripImage As Boolean
Dim transferSyntax As String
Dim qualityFactor As Integer
Dim extraData As String
Dim value() As Byte
value = instance.GetDicomData(sopInstanceUID, stripImage, transferSyntax, qualityFactor, extraData)
Parameters
- sopInstanceUID
- The SOP Instance UID for the DICOM object to retrieve.
- stripImage
- true to return the DICOM object without the image data; otherwise false.
- transferSyntax
- An optional System.String to change the DICOM object Transfer Syntax. This value can be null or System.String.Empty.
- qualityFactor
- An optional number to specify the compression loss of the image,Set 0 for lossless compression. This value is valid only when the parameter is set to a Transfer Syntax the supports image compression.
- extraData
- User custom data.
Return Value
An Array of
System.Byte representing the requested DICOM object buffer.