ExifDictionaryBasePackageItem Property (TiffTagID)
Gets the TIFF tag with the specified id.

Namespace: GroupDocs.Metadata.Standards.Exif
Assembly: GroupDocs.Metadata (in GroupDocs.Metadata.dll) Version: 21.6
Syntax
public TiffTag this[
	TiffTagID tagId
] { get; }

Parameters

tagId
Type: GroupDocs.Metadata.Formats.ImageTiffTagID
The id of the tag to retrieve.

Return Value

Type: TiffTag
The TiffTag with the specified tag id.
Examples
This example demonstrates how to read a specific TIFF/EXIF tag by its identifier.
C#
using (Metadata metadata = new Metadata(Constants.TiffWithExif))
{
    IExif root = metadata.GetRootPackage() as IExif;
    if (root != null && root.ExifPackage != null)
    {
        TiffAsciiTag software = (TiffAsciiTag)root.ExifPackage[TiffTagID.Software];
        if (software != null)
        {
            Console.WriteLine("Software: {0}", software.Value);
        }
    }
}
See Also