Retrieves a DICOM object and its options.
'Declaration
Public Overridable Function GetDicom( _
ByVal As String, _
ByVal As Boolean, _
ByVal As String, _
ByVal As Integer, _
ByVal As String _
) As Byte()
'Usage
Dim instance As DICOMService
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.GetDicom(sopInstanceUID, stripImage, transferSyntax, qualityFactor, extraData)
Parameters
- sopInstanceUID
- A System.String representing the SOP Instance UID of the DICOM object to match.
- stripImage
- true to return the DICOM object without the image data; otherwise false.
- transferSyntax
- Character string that contains the UID of the new Transfer Syntax. Pass null or System.String.Empty to keep the original Transfer Syntax.
- qualityFactor
- The quality factor (Q factor) is a number that determines the degree of loss in the compression process. You can set a value from 2 to 255, where 2 is the highest quality and 255 is the most compression. This parameter only applies when the new Transfer Syntax will involve compressing pixel data using a lossy compression. This value will be ignored if is null or System.String.Empty.
- extraData
- user custom data.
Return Value
An data buffer containing the requested DICOM Object.