MetadataTag Class

FreeImage.NET

MetadataTag Class
Manages metadata objects and operations.
Inheritance Hierarchy
SystemObject  FreeImageAPI.MetadataMetadataTag

Namespace: FreeImageAPI.Metadata
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public sealed class MetadataTag : IComparable, 
	IComparable<MetadataTag>, ICloneable, IEquatable<MetadataTag>, 
	IDisposable

The MetadataTag type exposes the following members.

Constructors
  NameDescription
Public methodMetadataTag(FREE_IMAGE_MDMODEL)
Initializes a new instance of this class.
Public methodMetadataTag(FITAG, FIBITMAP)
Initializes a new instance of this class.
Public methodMetadataTag(FITAG, FREE_IMAGE_MDMODEL)
Initializes a new instance of this class.
Top
Properties
  NameDescription
Public propertyCount
Gets the number of elements the metadata object contains.
Public propertyDescription
Gets or sets the description of the metadata.
Public propertyDisposed
Gets whether this instance has already been disposed.
Public propertyID
Gets or sets the ID of the metadata.
Public propertyKey
Gets or sets the key of the metadata.
Public propertyLength
Gets the length of the value in bytes.
Public propertyModel
Gets the model of the metadata.
Public propertyType
Gets the type of the metadata.
Public propertyValue
Gets or sets the value of the metadata.
Top
Methods
  NameDescription
Public methodAddToImage
Add this metadata to an image.
Public methodClone
Creates a deep copy of this MetadataTag.
Public methodCompareTo(Object)
Compares this instance with a specified Object.
Public methodCompareTo(MetadataTag)
Compares the current instance with another object of the same type.
Public methodDispose
Releases all resources used by the instance.
Public methodEquals(Object)
Tests whether the specified object is a MetadataTag instance and is equivalent to this MetadataTag instance.
(Overrides ObjectEquals(Object).)
Public methodEquals(MetadataTag)
Tests whether the specified MetadataTag instance is equivalent to this MetadataTag instance.
Public methodGetHashCode
Returns a hash code for this MetadataTag structure.
(Overrides ObjectGetHashCode.)
Public methodGetPropertyItem
Gets a .NET PropertyItem for this metadata tag.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodSetValue(Object)
Sets the value of the metadata.

In case value is of byte or byte[] FIDT_UNDEFINED is assumed.

In case value is of uint or uint[] FIDT_LONG is assumed.

Public methodSetValue(Object, FREE_IMAGE_MDTYPE)
Sets the value of the metadata.
Public methodToString
Converts the value of the MetadataTag object to its equivalent string representation.
(Overrides ObjectToString.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Determines whether two specified MetadataTag objects have the same value.
Public operatorStatic member(MetadataTag to FITAG)
Extracts the value of a MetadataTag instance to a FITAG handle.
Public operatorStatic memberInequality
Determines whether two specified MetadataTag objects have different values.
Top
See Also