2D Chart for WinForms | ComponentOne
C1.Win.C1Chart.4.8 Assembly / C1.Win.C1Chart Namespace / AlarmZonesCollection Class / AddNewZone Method

In This Topic
    AddNewZone Method
    In This Topic
    Creates a new AlarmZone and appends it to the collection.
    Syntax
    'Declaration
     
    Public Function AddNewZone() As AlarmZone
    public AlarmZone AddNewZone()

    Return Value

    A reference to the newly created AlarmZone.
    Remarks
    The new AlarmZone is returned. A name unique to the collection is given to the added AlarmZone. An AlarmZone object can be set to the return value, making it very easy to initialize the newly added AlarmZone. For example:
    See Also