FreeImage.NET Class Library Reference
MetadataTag Class |
Manages metadata objects and operations.
Inheritance Hierarchy
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
Name | Description | |
---|---|---|
MetadataTag(FREE_IMAGE_MDMODEL) |
Initializes a new instance of this class.
| |
MetadataTag(FITAG, FIBITMAP) |
Initializes a new instance of this class.
| |
MetadataTag(FITAG, FREE_IMAGE_MDMODEL) |
Initializes a new instance of this class.
|
Properties
Name | Description | |
---|---|---|
Count |
Gets the number of elements the metadata object contains.
| |
Description |
Gets or sets the description of the metadata.
| |
Disposed |
Gets whether this instance has already been disposed.
| |
ID |
Gets or sets the ID of the metadata.
| |
Key |
Gets or sets the key of the metadata.
| |
Length |
Gets the length of the value in bytes.
| |
Model |
Gets the model of the metadata.
| |
Type |
Gets the type of the metadata.
| |
Value |
Gets or sets the value of the metadata.
|
Methods
Name | Description | |
---|---|---|
AddToImage |
Add this metadata to an image.
| |
Clone |
Creates a deep copy of this MetadataTag.
| |
CompareTo(Object) |
Compares this instance with a specified Object.
| |
CompareTo(MetadataTag) |
Compares the current instance with another object of the same type.
| |
Dispose |
Releases all resources used by the instance.
| |
Equals(Object) |
Tests whether the specified object is a MetadataTag instance
and is equivalent to this MetadataTag instance.
(Overrides ObjectEquals(Object).) | |
Equals(MetadataTag) |
Tests whether the specified MetadataTag instance is equivalent to this MetadataTag instance.
| |
GetHashCode |
Returns a hash code for this MetadataTag structure.
(Overrides ObjectGetHashCode.) | |
GetPropertyItem |
Gets a .NET PropertyItem for this metadata tag.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
SetValue(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. | |
SetValue(Object, FREE_IMAGE_MDTYPE) |
Sets the value of the metadata.
| |
ToString |
Converts the value of the MetadataTag object
to its equivalent string representation.
(Overrides ObjectToString.) |
Operators
Name | Description | |
---|---|---|
Equality |
Determines whether two specified MetadataTag objects have the same value.
| |
(MetadataTag to FITAG) |
Extracts the value of a MetadataTag instance to a FITAG handle.
| |
Inequality |
Determines whether two specified MetadataTag objects have different values.
|
See Also