ImageGear .NET v25.2 - Updated
ImageGear.Art Assembly / ImageGear.ART Namespace / ImGearARTGroup Class / Item Property
Index of a mark.




In This Topic
    Item Property (ImGearARTGroup)
    In This Topic
    Gets or sets a mark by index.
    Syntax
    'Declaration
     
    Public Default Property Item( _
       ByVal index As Integer _
    ) As ImGearARTMark
    'Usage
     
    Dim instance As ImGearARTGroup
    Dim index As Integer
    Dim value As ImGearARTMark
     
    instance.Item(index) = value
     
    value = instance.Item(index)
    public ImGearARTMark this[ 
       int index
    ]; {get; set;}
    public: __property ImGearARTMark* get_Item   int index
    ;
    public: __property void set_Item   int index,
       ImGearARTMark* value
    ;
    public:
    property ImGearARTMark^ default [int] {
       ImGearARTMark^ get(int index);
       void set (int indexImGearARTMark^ value);
    }

    Parameters

    index
    Index of a mark.

    Property Value

    ImGearARTMark class object.
    Remarks
    Indexed property for accessing individual marks from the group.

    When setting a new mark at the specified index, please make sure it does not have parent group (i.e. ImGearARTMark.ParentGroup is null), otherwise ImageGear.Core.ImGearException will be thrown. If the mark to be added already has parent group, please clone it prior to setting at the specified index.

    See Also