Item
ExifDictionaryBasePackage indexer
Gets the TIFF tag with the specified id.
public TiffTag this[TiffTagID tagId] { get; }
| Parameter | Description | 
|---|---|
| tagId | The id of the tag to retrieve. | 
Return Value
The TiffTag with the specified tag id.
Examples
This example demonstrates how to read a specific TIFF/EXIF tag by its identifier.
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
- class TiffTag
- enum TiffTagID
- class ExifDictionaryBasePackage
- namespace GroupDocs.Metadata.Standards.Exif
- assembly GroupDocs.Metadata