Leadtools.MedicalWebViewer.DICOMObjectRetrieve Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.03.01
DoGetObjectType Method
See Also 
Leadtools.Dicom.Services.MedicalWebViewer Namespace > MedicalWebViewerObjectRetrieve Class : DoGetObjectType Method



dicomFile
The physical path of the DICOM file.
extraData
User custom data.
dicomFile
The physical path of the DICOM file.
extraData
User custom data.
Retrieve the type of the image.

Syntax

Visual Basic (Declaration) 
Overrides Protected Function DoGetObjectType( _
   ByVal dicomFile As String, _
   ByVal extraData As String _
) As ObjectType
Visual Basic (Usage)Copy Code
Dim instance As MedicalWebViewerObjectRetrieve
Dim dicomFile As String
Dim extraData As String
Dim value As ObjectType
 
value = instance.DoGetObjectType(dicomFile, extraData)
C# 
protected override ObjectType DoGetObjectType( 
   string dicomFile,
   string extraData
)
C++/CLI 
protected:
ObjectType DoGetObjectType( 
   String^ dicomFile,
   String^ extraData
) override 

Parameters

dicomFile
The physical path of the DICOM file.
extraData
User custom data.

Return Value

Returns one of the values from the ObjectType enumeration.

Remarks

Currently this method will return only .SingleFrameImage for single frame images, .MultiFrameImage for multi-page images or .None for images with no frames.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

DoGetObjectType requires a Web Viewer Framework Module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features