com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class TableElementCollection

  • All Implemented Interfaces:
    Iterable


    public final class TableElementCollection
    extends Object
    implements Iterable

    Represents a collection of elements absorbed from existing table

    T: Instance of type implementing ITableElement

    • Method Summary

      Methods 
      Modifier and Type Method and Description
      Object get_Item(int index)
      Gets the text fragment element at the specified index.
      Object getSyncRoot()
      Gets an object that can be used to synchronize access to the collection.
      boolean isSynchronized()
      Gets a value indicating whether access to the collection is synchronized (thread safe).
      com.aspose.ms.System.Collections.IEnumerator iterator()
      Returns an enumerator for the entire collection.
      int size()
      Gets the number of table elements actually contained in the collection.
    • Method Detail

      • size

        public int size()

        Gets the number of table 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:
        SyncRoot Object
      • isSynchronized

        public boolean isSynchronized()

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

        Returns:
        boolean value
      • iterator

        public com.aspose.ms.System.Collections.IEnumerator iterator()

        Returns an enumerator for the entire collection.

        Specified by:
        iterator in interface Iterable
        Returns:
        Enumerator object.
      • get_Item

        public Object get_Item(int index)

        Gets the text fragment element at the specified index.

        Parameters:
        index - Index within the collection.
        Returns:
        table element object.