ImagePlacementCollection
Overview
ImagePlacementCollection is a class in Aspose.PDF FOSS for .NET.
Inherits from: IReadOnlyList<ImagePlacement>.
A collection of ImagePlacement items.
This class declares 7 methods for ImagePlacementCollection objects in .NET programs.
Available methods include: Add, Clear, Contains, CopyTo, GetEnumerator, ImagePlacementCollection, Remove.
Public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: Count, IsReadOnly, IsSynchronized, SyncRoot.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Count | int | Read | Number of image placements. |
IsReadOnly | bool | Read | Gets the is read only. |
IsSynchronized | bool | Read | Gets the is synchronized. |
SyncRoot | object | Read | Gets the sync root. |
Methods
| Signature | Description |
|---|---|
ImagePlacementCollection() | Creates an empty collection of image placements. |
Add(fragment: ImagePlacement) | Appends an image placement to the collection; null throws ArgumentNullException. |
Contains(item: ImagePlacement) | Returns true if the collection contains the given image placement. |
CopyTo(array: ImagePlacement[], index: int) | Copies the image placements into array, starting at the 0-based position index in that array. |
Remove(item: ImagePlacement) | Removes the given image placement from the collection (it does not change the page); returns true if it was found. |
Clear() | Removes all image placements from the collection. |
GetEnumerator() | Calls GetEnumerator on this ImagePlacementCollection instance. |