Retrieves a DICOM object.
public DicomDataSet GetDicomObject(
string ,
bool ,
string ,
int ,
string
)
'Declaration
Public Function GetDicomObject( _
ByVal As String, _
ByVal As Boolean, _
ByVal As String, _
ByVal As Integer, _
ByVal As String _
) As DicomDataSet
'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 DicomDataSet
value = instance.GetDicomObject(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
A DicomDataSet representing the requested DICOM object.