XImageCollection Class

Class representing XImage collection.
Inheritance Hierarchy
SystemObject
  Aspose.PdfXImageCollection

Namespace:  Aspose.Pdf
Assembly:  Aspose.PDF (in Aspose.PDF.dll) Version: 22.5.0
Syntax
public sealed class XImageCollection : ICollection<XImage>, 
	IEnumerable<XImage>, IEnumerable

The XImageCollection type exposes the following members.

Properties
  NameDescription
Public propertyCount
Count of images in collection.
Public propertyIsReadOnly
Gets a value indicating whether the collection is read-only.
Public propertyIsSynchronized
Returns true if object is synchronized.
Public propertyItemInt32
Gets image from collection by its index.
Public propertyItemString
Gets image from collection by its name.
Public propertyNames
Gets array of image names.
Public propertySyncRoot
Returns synchronization object.
Methods
  NameDescription
Public methodAdd(Stream)
Adds entity to the end of the collection, so entity can be accessed by the last index.
Public methodAdd(XImage)
Adds new image to Image list. This method adds image as reference to the same PdfObject (which allows to decrease file size)
Public methodAdd(Stream, ImageFilterType)
Adds entity to the end of the collection, so entity can be accessed by the last index.
Public methodAdd(Stream, Int32)
Adds entity to the end of the collection, so entity can be accessed by the last index.
Public methodClear
Clears all items from the collection.
Public methodContains
Determines whether the collection contains a specific value.
Public methodCopyTo
Copies array of images into collection.
Public methodDelete
Deletes images from collection.
Public methodDelete(Int32)
Removes index from collection by index.
Public methodDelete(String)
Removes item from collection by name.
Public methodDelete(Int32, ImageDeleteAction)
Removes image from collection by index performing action specified by action parameter.
Public methodDelete(String, ImageDeleteAction)
Removes item from collection by name.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetEnumerator
Returns collection enumerator.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetImageName
Returns name in images list which is key of the given image.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodRemove
Removes item from collection, throws NotImplementedException.
Public methodReplace(Int32, Stream)
Replace image in collection with another image.
Public methodReplace(Int32, Stream, Int32)
Replace image in collection with another image.
Public methodReplace(Int32, Stream, Int32, Boolean)
Replace image in collection with another image.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also