Item
Leave feedback
On this page
Gets the Raw tag with the specified id.
public RawTag this[uint tagId] { get; }
| Parameter | Description |
|---|---|
| tagId | The id of the tag to retrieve. |
The RawTag with the specified tag id.
This example demonstrates how to read a specific Raw/EXIF tag by its identifier.
using (Metadata metadata = new Metadata(Constants.RawWithExif))
{
IExif root = metadata.GetRootPackage() as IExif;
if (root != null && root.ExifPackage != null)
{
RawAsciiTag software = (RawAsciiTag)root.ExifPackage[uint.Software];
if (software != null)
{
Console.WriteLine("Software: {0}", software.Value);
}
}
}
- class RawTag
- class RawDictionaryBasePackage
- namespace GroupDocs.Metadata.Formats.Raw
- 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.