LEADTOOLS Medical (Leadtools.Dicom.Web assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.25
GetDicomImage Method
See Also 
Leadtools.Dicom.Web Namespace > DicomWCFStreamer Class : GetDicomImage Method



sopInstanceUID
The SOP Instance UID for the DICOM object to match.
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 transferSyntax parameter is set to a Transfer Syntax the supports image compression.
extraData
User custom data.
sopInstanceUID
The SOP Instance UID for the DICOM object to match.
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 transferSyntax parameter is set to a Transfer Syntax the supports image compression.
extraData
User custom data.
Retrieves a DICOM image from a DICOM object.

Syntax

Visual Basic (Declaration) 
Public Function GetDicomImage( _
   ByVal sopInstanceUID As String, _
   ByVal transferSyntax As String, _
   ByVal qualityFactor As Integer, _
   ByVal extraData As String _
) As RasterImage
Visual Basic (Usage)Copy Code
Dim instance As DicomWCFStreamer
Dim sopInstanceUID As String
Dim transferSyntax As String
Dim qualityFactor As Integer
Dim extraData As String
Dim value As RasterImage
 
value = instance.GetDicomImage(sopInstanceUID, transferSyntax, qualityFactor, extraData)
C# 
public RasterImage GetDicomImage( 
   string sopInstanceUID,
   string transferSyntax,
   int qualityFactor,
   string extraData
)
C++/CLI 
public:
RasterImage^ GetDicomImage( 
   String^ sopInstanceUID,
   String^ transferSyntax,
   int qualityFactor,
   String^ extraData
) 

Parameters

sopInstanceUID
The SOP Instance UID for the DICOM object to match.
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 transferSyntax parameter is set to a Transfer Syntax the supports image compression.
extraData
User custom data.

Return Value

The RasterImage for the requested DICOM image.

Requirements

Target Platforms: Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also