DicomObjects Reference
DicomObjects Reference / DicomImages Collection / Item Property
Either:
a) An integer referencing the image by its position in the collection, starting at 1.
or
b) A String referencing the Instance UID of the Image.
Item Property
Description
Provides access to the individual DicomImage items of a DicomImages collection
Property type
Read-only property
Syntax
Visual Basic
Public Property Item( _
   ByVal Index As Variant _
) As DicomImage
Parameters
Index
Either:
a) An integer referencing the image by its position in the collection, starting at 1.
or
b) A String referencing the Instance UID of the Image.
Remarks
The index is a variant as images may be referenced either by numerical sequence (as used for CurrentIndex), or by their unique instance UID.  An exception is generated if either a numerical argument is out of bounds, or if reference is made to a non-existent instance UID.
As this is the default property, the term "Item" is rarely used, as Control.Images.Item(3)
may rather more concisely be written as
Control.Images(3)
See Also