Image Viewer CP ActiveX Control

DICOMGetTagsSubItemCount 

 

Return the total count of subitem for specific tags.

Public Function DICOMGetTagsSubItemCount( _
   ByVal iIndex As Integer
 ) As long

 

Parameter
the index of tag.

Return Value

Return the total count of subitem for specific tags

Example

   

Visual Basic Syntax
iCount = Me.ImageViewer1.DICOMGetTagsSubItemCount(Me.List1.ListIndex)
Me.List2.Clear
Me.List3.Clear
For i = 0 To iCount - 1
     List2.AddItem Me.ImageViewer1.DICOMGetTagsSubItemName(Me.List1.ListIndex, i)
Next