DicomObjects Reference
DicomObjects Reference / DicomLabels Collection / Move Method
The current index in the collection
The new index for the Label within the collection
Move Method
Description
Moves a Label item
Syntax
Visual Basic
Public Sub Move( _
   ByVal Index As Long, _
   ByVal Destination As Long _
) 
Parameters
Index
The current index in the collection
Destination
The new index for the Label within the collection
Remarks
By using Move, Labels may be re-ordered within the collection.  The Label referred to by the index is placed at the position given by "destination", other Labels being kept in sequence but moved as necessary to accommodate the moved item.
The main need for this method is when labels overlap, as those later in the collection are drawn last, possible over-writing parts of earlier labels.
See Also