VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.Codecs.ImageFiles.Tiff Namespace / TiffTagCollection Class / Add Methods / Add(TiffTag) Method
Syntax Exceptions Remarks Requirements SeeAlso
In This Topic
    Add(TiffTag) Method (TiffTagCollection)
    In This Topic
    Adds a TIFF tag to the collection.
    Syntax
    'Declaration
    
    Public Overloads Sub Add( _
    ByVal tag
    Tag to add.
    As TiffTag _
    )
    public void Add(
    TiffTag tag
    )
    public: void Add(
    TiffTag* tag
    )
    public:
    void Add(
    TiffTag^ tag
    )

    Parameters

    tag
    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