MetadataModel Class

FreeImage.NET

MetadataModel Class
Base class that represents a collection of all tags contained in a metadata model.
Inheritance Hierarchy
SystemObject  FreeImageAPI.MetadataMetadataModel
    More...

Namespace: FreeImageAPI.Metadata
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public abstract class MetadataModel : IEnumerable

The MetadataModel type exposes the following members.

Constructors
  NameDescription
Protected methodMetadataModel
Initializes a new instance of this class.
Top
Properties
  NameDescription
Public propertyCount
Returns the number of metadata tags this instance represents.
Public propertyExists
Returns whether this model exists in the bitmaps metadata structure.
Public propertyItem
Returns the metadata tag at the given index. This operation is slow when accessing all tags.
Public propertyList
Returns a list of all metadata tags this instance represents.
Public propertyModel
Retrieves the datamodel that this instance represents.
Top
Methods
  NameDescription
Public methodAddTag(MetadataTag)
Adds new tag to the bitmap or updates its value in case it already exists. Key will be used as key.
Public methodAddTag(IEnumerableMetadataTag)
Adds a list of tags to the bitmap or updates their values in case they already exist. Key will be used as key.
Public methodDestoryModel
Destroys the metadata model which will remove all tags of this model from the bitmap.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Retrieves an object that can iterate through the individual MetadataTags in this MetadataModel.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetTag
Returns the specified metadata tag.
Protected methodGetTagArrayT
Returns an array containing the data of the specified tag.
Protected methodGetTagFromIndex
Returns the tag at the given index.
Protected methodGetTagText
Returns the string contained by the specified tag.
Protected methodGetTagValueT
Returns the value of the specified tag.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodGetUInt32Array
Returns an array containg the data of the specified tag as unsigned 32bit integer.
Protected methodGetUInt32Value
Returns the value of the tag as unsigned 32bit integer.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRegexSearch
Searches for a pattern in each metadata tag and returns the result as a list.
Public methodRemoveTag
Removes the specified tag from the bitmap.
Protected methodSetTagValue(String, Object)
Sets the value of the specified tag.
Protected methodSetTagValueT(String, NullableT)
Sets the value of the specified tag.
Protected methodSetTagValueUndefined
Sets the value of the specified tag as undefined.
Public methodTagExists
Returns whether the specified tag exists.
Protected methodStatic memberToDirectionType
Returns the equivalent MetadataModelDirectionReference for the specified String.
Protected methodStatic memberToInteroperabilityType
Returns the equivalent MetadataModelInteroperabilityMode for the specified String.
Protected methodStatic memberToLatitudeType
Returns the equivalent MetadataModelLatitudeType for the specified String.
Protected methodStatic memberToLongitudeType
Returns the equivalent MetadataModelLongitudeType for the specified String.
Public methodToString
Converts the model of the MetadataModel object to its equivalent string representation.
(Overrides ObjectToString.)
Protected methodStatic memberToString(NullableMetadataModelDirectionReference)
Returns the equivalent String for the specified MetadataModelDirectionReference.
Protected methodStatic memberToString(NullableMetadataModelInteroperabilityMode)
Returns the equivalent String for the specified MetadataModelInteroperabilityMode.
Protected methodStatic memberToString(NullableMetadataModelLatitudeType)
Returns the equivalent String for the specified MetadataModelLatitudeType.
Protected methodStatic memberToString(NullableMetadataModelLongitudeType)
Returns the equivalent String for the specified MetadataModelLongitudeType.
Protected methodStatic memberToString(NullableMetadataModelVelocityUnit)
Returns the equivalent String for the specified MetadataModelVelocityUnit.
Protected methodStatic memberToUnitType
Returns the equivalent MetadataModelVelocityUnit for the specified String.
Top
Fields
  NameDescription
Protected fielddib
Handle to the encapsulated FreeImage-bitmap.
Top
Remarks
The MetedataModel class is an abstract base class, which is inherited by several derived classes, one for each existing metadata model.
See Also
Inheritance Hierarchy