VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.Codecs.ImageFiles.Tiff Namespace / TiffTagCollection Class / Insert Methods / Insert(Int32,TiffTag) Method
Syntax Exceptions Remarks Requirements SeeAlso
In This Topic
    Insert(Int32,TiffTag) Method (TiffTagCollection)
    In This Topic
    Inserts a TIFF tag into the collection.
    Syntax
    'Declaration
    
    Public Overloads Sub Insert( _
    ByVal index
    The zero-based index at which tag should be inserted.
    As System.Int32, _
    ByVal tag
    An identifier of TIFF tag to add.
    As TiffTag _
    )
    public void Insert(
    System.Int32 index,
    TiffTag tag
    )
    public: void Insert(
    System.Int32 index,
    TiffTag* tag
    )
    public:
    void Insert(
    System.Int32 index,
    TiffTag^ tag
    )

    Parameters

    index
    The zero-based index at which tag should be inserted.
    tag
    An identifier of TIFF tag to add.
    Exceptions
    ExceptionDescription
    Thrown if tag is null.
    Thrown if tag with same ID is already present in the collection.
    Remarks

    Clone of the tag will be added to the collection if tag is virtual (TiffTag.IsVirtual == false); otherwise, tag will be added to the collection. then a

    Requirements

    Target Platforms: .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also