MetadataModel Class
From FreeImage.NET
FreeImage.NET Class Library Reference
| MetadataModel Class |
Base class that represents a collection of all tags contained in a metadata model.
Namespace: FreeImageAPI.Metadata
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
C#
public abstract class MetadataModel : IEnumerable
The MetadataModel type exposes the following members.
| Name | Description | |
|---|---|---|
| MetadataModel |
Initializes a new instance of this class.
|
| Name | Description | |
|---|---|---|
| Count |
Returns the number of metadata tags this instance represents.
| |
| Exists |
Returns whether this model exists in the bitmaps metadata structure.
| |
| Item |
Returns the metadata tag at the given index. This operation is slow when accessing all tags.
| |
| List |
Returns a list of all metadata tags this instance represents.
| |
| Model |
Retrieves the datamodel that this instance represents.
|
| Name | Description | |
|---|---|---|
| AddTag(MetadataTag) |
Adds new tag to the bitmap or updates its value in case it already exists.
Key will be used as key.
| |
| AddTag(IEnumerableMetadataTag) |
Adds a list of tags to the bitmap or updates their values in case they already exist.
Key will be used as key.
| |
| DestoryModel |
Destroys the metadata model
which will remove all tags of this model from the bitmap.
| |
| Equals | (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetEnumerator |
Retrieves an object that can iterate through the individual MetadataTags in this MetadataModel.
| |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetTag |
Returns the specified metadata tag.
| |
| GetTagArrayT |
Returns an array containing the data of the specified tag.
| |
| GetTagFromIndex |
Returns the tag at the given index.
| |
| GetTagText |
Returns the string contained by the specified tag.
| |
| GetTagValueT |
Returns the value of the specified tag.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| GetUInt32Array |
Returns an array containg the data of the specified tag
as unsigned 32bit integer.
| |
| GetUInt32Value |
Returns the value of the tag as unsigned 32bit integer.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| RegexSearch |
Searches for a pattern in each metadata tag and returns the result as a list.
| |
| RemoveTag |
Removes the specified tag from the bitmap.
| |
| SetTagValue(String, Object) |
Sets the value of the specified tag.
| |
| SetTagValueT(String, NullableT) |
Sets the value of the specified tag.
| |
| SetTagValueUndefined |
Sets the value of the specified tag as undefined.
| |
| TagExists |
Returns whether the specified tag exists.
| |
| ToDirectionType |
Returns the equivalent MetadataModelDirectionReference for the
specified String.
| |
| ToInteroperabilityType |
Returns the equivalent MetadataModelInteroperabilityMode for the
specified String.
| |
| ToLatitudeType |
Returns the equivalent MetadataModelLatitudeType for the
specified String.
| |
| ToLongitudeType |
Returns the equivalent MetadataModelLongitudeType for the
specified String.
| |
| ToString |
Converts the model of the MetadataModel object to its equivalent string representation.
(Overrides ObjectToString.) | |
| ToString(NullableMetadataModelDirectionReference) |
Returns the equivalent String for the
specified MetadataModelDirectionReference.
| |
| ToString(NullableMetadataModelInteroperabilityMode) |
Returns the equivalent String for the
specified MetadataModelInteroperabilityMode.
| |
| ToString(NullableMetadataModelLatitudeType) |
Returns the equivalent String for the
specified MetadataModelLatitudeType.
| |
| ToString(NullableMetadataModelLongitudeType) |
Returns the equivalent String for the
specified MetadataModelLongitudeType.
| |
| ToString(NullableMetadataModelVelocityUnit) |
Returns the equivalent String for the
specified MetadataModelVelocityUnit.
| |
| ToUnitType |
Returns the equivalent MetadataModelVelocityUnit for the
specified String.
|
The MetedataModel class is an abstract base class, which is inherited by
several derived classes, one for each existing metadata model.
Reference
SystemObject
FreeImageAPI.MetadataMetadataModel
FreeImageAPI.MetadataMDM_ANIMATION
FreeImageAPI.MetadataMDM_COMMENTS
FreeImageAPI.MetadataMDM_CUSTOM
FreeImageAPI.MetadataMDM_EXIF_EXIF
FreeImageAPI.MetadataMDM_EXIF_GPS
FreeImageAPI.MetadataMDM_EXIF_MAIN
FreeImageAPI.MetadataMDM_GEOTIFF
FreeImageAPI.MetadataMDM_INTEROP
FreeImageAPI.MetadataMDM_IPTC
FreeImageAPI.MetadataMDM_MAKERNOTE
FreeImageAPI.MetadataMDM_NODATA
FreeImageAPI.MetadataMDM_XMP
FreeImageAPI.MetadataMetadataModel
FreeImageAPI.MetadataMDM_ANIMATION
FreeImageAPI.MetadataMDM_COMMENTS
FreeImageAPI.MetadataMDM_CUSTOM
FreeImageAPI.MetadataMDM_EXIF_EXIF
FreeImageAPI.MetadataMDM_EXIF_GPS
FreeImageAPI.MetadataMDM_EXIF_MAIN
FreeImageAPI.MetadataMDM_GEOTIFF
FreeImageAPI.MetadataMDM_INTEROP
FreeImageAPI.MetadataMDM_IPTC
FreeImageAPI.MetadataMDM_MAKERNOTE
FreeImageAPI.MetadataMDM_NODATA
FreeImageAPI.MetadataMDM_XMP