DicomObjects Reference
DicomObjects Reference / DicomLabels Collection / Add Method
The Label to add
In This Topic
    Add Method
    In This Topic
    Description
    Adds an item
    Syntax
    Visual Basic
    Public Sub Add( _
       ByVal Label As DicomLabel _
    ) 
    Parameters
    Label
    The Label to add
    Remarks

    The new addition is added at the end of the collection.  It may subsequently be moved using Move if necessary. 

    Individual labels may only be attached to a single DicomImage objects, to prevent ambiguities when the ROI functions are used.  Accordingly if this method is used on a label which is already a member of a DicomLabels collection, then a cloned copy of the label will be created, and the clone will be added.  This should be noted when manipulating the properties of such a label after using this method.

    See Also