DEXTUpload.NET Professional
menu toggleReferences > DEXTUpload.NET > Metadata

DEXTUpload.NET
Class Metadata

The minimum supported version
5.0.0.0
The minimum support environment
.NET Framework 4.0
Explanation

The "Metadata" is a class that has a metadata extracted from an image having a format that supports metadata.

The "Metadata" object can be obtained using the "GetMetadata" method of the "DEXTUpload.NET.ImageProc" class.

The metadata is supported from TIFF, JPEG, PNG, EXIF ​​image format. Other formats are not supported.

var source = new FileInfo("image.jpg");
var metadata = ImageProc.GetMetadata(source);
foreach (var id in metadata.TagIds)
{
    Console.WriteLine(string.Format("{0}={1}", id, metadata.GetTagString(id)));
}
Type
public class Metadata
Constructors

Metadata

  • Does initialization when creating an instance of the "Metadata" class.

  • Type

    public Metadata()
    public Metadata(int count)
    
  • Parameters

    Name Type Explanation
    count System.Int32 The initial capacity of the list.
Properties

TagIds

  • Gets a "System.Collection.Generic.List<ImageMetaDataPropertyTagIds>" object of the tag list.

    The "DEXTUpload.NET.ImageMetaDataPropertyTagIds" enumeration represents property tags that can identify the metadata extracted from the image file.

  • Type

    public List<ImageMetaDataPropertyTagIds> TagIds { get; }
Methods

GetTagValue

GetTagString

Clear

  • Removes all property items.

  • Type

    public void Clear()