ImageGear .NET v25.2 - Updated
ImageGear.Art Assembly / ImageGear.ART Namespace / ImGearARTGroupArray Class / Add Method
Group to add.




In This Topic
    Add Method (ImGearARTGroupArray)
    In This Topic
    Adds an annotation group to the array.
    Syntax
    'Declaration
     
    Public Function Add( _
       ByVal group As ImGearARTGroup _
    ) As Integer
    'Usage
     
    Dim instance As ImGearARTGroupArray
    Dim group As ImGearARTGroup
    Dim value As Integer
     
    value = instance.Add(group)
    public int Add( 
       ImGearARTGroup group
    )
    public: int Add( 
       ImGearARTGroup* group
    ) 
    public:
    int Add( 
       ImGearARTGroup^ group
    ) 

    Parameters

    group
    Group to add.

    Return Value

    Integer value.
    Remarks

    Please make sure the group does not have parent page (i.e. ImGearARTGroup.ParentPage is null), otherwise ImageGear.Core.ImGearException will be thrown. If the group to be added already has parent page, please clone it prior to adding to the array.

    Please also make sure the group has a name (i.e. ImGearARTGroup.Name is not null), otherwise ImageGear.Core.ImGearException will be thrown.

    See Also