LEADTOOLS Medical (Leadtools.MedicalWebViewer.DICOMObjectRetrieve assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.25
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.

The DoGetObjectType Method is available as an add-on to the LEADTOOLS Medical Imaging toolkits.

dicomFile
The physical path of the DICOM file.
extraData
User custom data.
Retrieves 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 Leadtools.Dicom.Services.DataTypes.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: Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also