DicomObjects Reference
DicomObjects Reference / DicomImages Collection
Members
In This Topic
    DicomImages Collection
    In This Topic
    Description
    This is a true OLE collection, comprising DicomImage objects, including that represented by the DICOM viewer control’s Images Property.
    Remarks

    In addition to the above public properties, the DicomImages collection also supports the "NewEnumVariant" restricted method.  This allows suitable clients such as Visual Basic to iterate through the images it contains using the following syntax:

    Enumeration
    Copy Code
    Dim image as DicomImage
    Dim control as DicomViewer
    For each image in control.Images
      MsgBox image.name
    Next

    It is directly creatable, either using Visual Basic’s “CreateObject” method (or equivalent) using the name “DicomObjects.DicomImages” or via the DicomViewer’s New method.

    See Also