Click or drag to resize

IptcCollection Class

Contains a collection of IPTC tags.

Inheritance Hierarchy

Namespace:  Atalasoft.Imaging.Metadata
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public class IptcCollection : CollectionBase

The IptcCollection type exposes the following members.

Constructors
  NameDescription
Public methodIptcCollection
Initializes an empty collection of IptcTags
Public methodIptcCollection(Stream) Obsolete.
Creates a new instance of the IptcCollection class specifying the file stream to read the iptc metadata from.
Public methodIptcCollection(String) Obsolete.
Creates a new instance of the IptcCollection class specifying the file to read the iptc metadata from.
Public methodIptcCollection(Stream, Int32) Obsolete.
Creates a new instance of the IptcCollection class specifying the file stream and page index (in a multipage TIFF) to read the iptc metadata from.
Public methodIptcCollection(String, Int32) Obsolete.
Creates a new instance of the IptcCollection class specifying the file and page index (in a multipage TIFF) to read the iptc metadata from.
Top
Properties
  NameDescription
Public propertyCapacity
Gets or sets the number of elements that the CollectionBase can contain.
(Inherited from CollectionBase.)
Public propertyCount
Gets the number of elements contained in the CollectionBase instance. This property cannot be overridden.
(Inherited from CollectionBase.)
Protected propertyInnerList
Gets an ArrayList containing the list of elements in the CollectionBase instance.
(Inherited from CollectionBase.)
Public propertyItem
Returns the IptcTag by index in the collection and allows the Iptc tags to be enumerated.
Protected propertyList
Gets an IList containing the list of elements in the CollectionBase instance.
(Inherited from CollectionBase.)
Top
Methods
  NameDescription
Public methodAdd
Add a new IptcTag to the image.
Public methodClear
Removes all objects from the CollectionBase instance. This method cannot be overridden.
(Inherited from CollectionBase.)
Public methodContains
Determines whether [contains] [the specified source].
Public methodCopyTo
Copies items from the collection into an array.
Public methodCreateIptcDataBlock
Generate an IPTC data block.
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
Returns an enumerator that iterates through the CollectionBase instance.
(Inherited from CollectionBase.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodStatic memberGetTagDescription
Returns a textual description based on an IptcID.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf
Returns the index value of an IptcTag.
Public methodInsert
Inserts the specified index.
Public methodLookupTag(Int32, Int32)
Returns an IptcTag based on an IPTC ID and index.
Public methodLookupTag(Int32, Int32, Int32)
Lookups the tag.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnClear
Performs additional custom processes when clearing the contents of the CollectionBase instance.
(Inherited from CollectionBase.)
Protected methodOnClearComplete
Performs additional custom processes after clearing the contents of the CollectionBase instance.
(Inherited from CollectionBase.)
Protected methodOnInsert
Performs additional custom processes before inserting a new element into the CollectionBase instance.
(Inherited from CollectionBase.)
Protected methodOnInsertComplete
Performs additional custom processes after inserting a new element into the CollectionBase instance.
(Inherited from CollectionBase.)
Protected methodOnRemove
Performs additional custom processes when removing an element from the CollectionBase instance.
(Inherited from CollectionBase.)
Protected methodOnRemoveComplete
Performs additional custom processes after removing an element from the CollectionBase instance.
(Inherited from CollectionBase.)
Protected methodOnSet
Performs additional custom processes before setting a value in the CollectionBase instance.
(Inherited from CollectionBase.)
Protected methodOnSetComplete
Performs additional custom processes after setting a value in the CollectionBase instance.
(Inherited from CollectionBase.)
Protected methodOnValidate
Performs additional custom processes when validating a value.
(Inherited from CollectionBase.)
Public methodRemove
Remove a specified IptcTag from the collection.
Public methodRemoveAt
Removes the element at the specified index of the CollectionBase instance. This method is not overridable.
(Inherited from CollectionBase.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks
See the ParseFromImage methods of the IptcParser class to populate an IptcCollection with data from an image.
See Also

Reference

Metadata Overview