com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class ImagePlacementCollection

    • Method Detail

      • size

        public int size()

        Gets the number of ImagePlacement object elements actually contained in the collection.

        Returns:
        int value
      • getSyncRoot

        public Object getSyncRoot()

        Gets an object that can be used to synchronize access to the collection.

        Returns:
        Object for synchronization
      • isSynchronized

        public boolean isSynchronized()

        Gets a value indicating whether access to the collection is synchronized (thread safe).

        Returns:
        boolean value
      • isReadOnly

        public boolean isReadOnly()

        Gets a value indicating whether the collection is read-only.

        Returns:
        boolean value
      • add

        public void add(ImagePlacement fragment)

        Adds the text fragment element at the specified index.

        Parameters:
        fragment - ImagePlacement instance
      • iterator

        public com.aspose.ms.System.Collections.IEnumerator<ImagePlacement> iterator()

        Returns an enumerator for the entire collection.

        Specified by:
        iterator in interface Iterable<ImagePlacement>
        Returns:
        Enumerator object.
      • copyTo

        public void copyTo(ImagePlacement[] array,
                           int index)

        Copies the entire collection to a compatible one-dimensional Array, starting at the specified index of the target array

        Parameters:
        array - Array of objects which will be copied.
        index - Starting index from which copying will be started.
      • clear

        public void clear()

        Clears all items from the collection.

      • contains

        public boolean contains(ImagePlacement item)

        Determines whether the collection contains a specific value.

        Parameters:
        item - The object to locate in the collection
        Returns:
        true if item is found in the collection; otherwise, false.
      • remove

        public boolean remove(ImagePlacement item)

        Deletes specified item from collection

        Parameters:
        item - Item to delete
        Returns:
        true if item was deleted; otherwise, false.
      • get_Item

        public ImagePlacement get_Item(int index)

        Gets the text fragment element at the specified index.

        Parameters:
        index - Index of image placement.
        Returns:
        ImagePlacement object.