Class XImageCollection
Contents
[
Hide
]XImageCollection class
Class representing XImage collection.
public sealed class XImageCollection : ICollection<XImage>
Properties
| Name | Description |
|---|---|
| Count { get; } | Count of images in collection. |
| IsReadOnly { get; } | Gets a value indicating whether the collection is read-only. |
| IsSynchronized { get; } | Returns true if object is synchronized. |
| Item { get; } | Gets image from collection by its index. (2 indexers) |
| Names { get; } | Gets array of image names. |
| SyncRoot { get; } | Returns synchronization object. |
Methods
| Name | Description |
|---|---|
| Add(BitmapInfo) | Adds entity to the end of the collection, so entity can be accessed by the last index. |
| Add(Stream) | Adds entity to the end of the collection, so entity can be accessed by the last index. |
| Add(XImage) | Adds new image to Image list. This method adds image as reference to the same PdfObject (which allows to decrease file size) |
| Add(BitmapInfo, ImageFilterType) | Adds entity to the end of the collection, so entity can be accessed by the last index. |
| Add(Stream, ImageFilterType) | Adds entity to the end of the collection, so entity can be accessed by the last index. |
| Add(Stream, int) | Adds entity to the end of the collection, so entity can be accessed by the last index. |
| Clear() | Clears all items from the collection. |
| Contains(XImage) | Determines whether the collection contains a specific value. |
| CopyTo(XImage[], int) | Copies array of images into collection. |
| Delete() | Deletes images from collection. |
| Delete(int) | Removes index from collection by index. |
| Delete(string) | Removes item from collection by name. |
| Delete(int, ImageDeleteAction) | Removes image from collection by index performing action specified by action parameter. |
| Delete(string, ImageDeleteAction) | Removes item from collection by name. |
| GetEnumerator() | Returns collection enumerator. |
| GetImageName(XImage) | Returns name in images list which is key of the given image. |
| Remove(XImage) | Removes item from collection, throws NotImplementedException. |
| Replace(int, Stream) | Replace image in collection with another image. |
| Replace(int, Stream, int) | Replace image in collection with another image. |
| Replace(int, Stream, int, bool) | Replace image in collection with another image. |
See Also
- class XImage
- namespace Aspose.Pdf
- assembly Aspose.PDF