Item
Leave feedback
On this page
Gets the TIFF tag with the specified id.
public TiffTag this[TiffTagID tagId] { get; }
| Parameter | Description |
|---|---|
| tagId | The id of the tag to retrieve. |
The TiffTag with the specified tag id.
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);
}
}
}
- class TiffTag
- enum TiffTagID
- class ExifDictionaryBasePackage
- namespace GroupDocs.Metadata.Standards.Exif
- assembly GroupDocs.Metadata
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.