LEADTOOLS Medical (Leadtools.Dicom.Web assembly)
LEAD Technologies, Inc

GetDicomData Method






The SOP Instance UID for the DICOM object to retrieve.
true to return the DICOM object without the image data; otherwise false.
An optional System.String to change the DICOM object Transfer Syntax. This value can be null or System.String.Empty.
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.
User custom data.
Retrieves a DICOM object buffer.
Syntax
public byte[] GetDicomData( 
   string sopInstanceUID,
   bool stripImage,
   string transferSyntax,
   int qualityFactor,
   string extraData
)
'Declaration
 
Public Function GetDicomData( _
   ByVal sopInstanceUID As String, _
   ByVal stripImage As Boolean, _
   ByVal transferSyntax As String, _
   ByVal qualityFactor As Integer, _
   ByVal extraData 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)
public byte[] GetDicomData( 
   string sopInstanceUID,
   bool stripImage,
   string transferSyntax,
   int qualityFactor,
   string extraData
)
 function Leadtools.Dicom.Web.DicomWCFStreamer.GetDicomData( 
   sopInstanceUID ,
   stripImage ,
   transferSyntax ,
   qualityFactor ,
   extraData 
)
public:
array<byte>^ GetDicomData( 
   String^ sopInstanceUID,
   bool stripImage,
   String^ transferSyntax,
   int qualityFactor,
   String^ 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 transferSyntax 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.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DicomWCFStreamer Class
DicomWCFStreamer Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.