ImagePlacementCollection

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

NameTypeAccessDescription
CountintReadNumber of image placements.
IsReadOnlyboolReadGets the is read only.
IsSynchronizedboolReadGets the is synchronized.
SyncRootobjectReadGets the sync root.

Methods

SignatureDescription
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.

See Also

 English