com.aspose.pdf.facades

Class Bookmarks

  • java.lang.Object
    • com.aspose.ms.System.Collections.CollectionBase
      • com.aspose.pdf.facades.Bookmarks
  • All Implemented Interfaces:
    com.aspose.ms.System.Collections.ICollection, com.aspose.ms.System.Collections.IEnumerable, com.aspose.ms.System.Collections.IList, Iterable


    public final class Bookmarks
    extends com.aspose.ms.System.Collections.CollectionBase

    Represents a collection of Bookmark objects.

    • Constructor Summary

      Constructors 
      Constructor and Description
      Bookmarks()
      Initializes a new instance of the Bookmarks class.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      void add(Bookmark bookMark)
      Adds a new Bookmark object into the collection.
      void copyTo(Bookmark[] bookMarkArray, int index)
      Copies the elements to a Bookmark object array, starting at a specified array index.
      Bookmark get_Item(int index)
      Gets a Bookmark object from the collection according to bookmark index.
      void remove(Bookmark bookMark)
      Removes a Bookmark object from the collection.
      void set_Item(int index, Bookmark value)
      Sets a Bookmark object from the collection according to bookmark index.
      • Methods inherited from class com.aspose.ms.System.Collections.CollectionBase

        addItem, clear, contains, copyTo, getCapacity, getSyncRoot, indexOf, insertItem, isFixedSize, isReadOnly, isSynchronized, iterator, removeAt, removeItem, set_Item, setCapacity, size
    • Constructor Detail

      • Bookmarks

        public Bookmarks()

        Initializes a new instance of the Bookmarks class.

    • Method Detail

      • add

        public void add(Bookmark bookMark)

        Adds a new Bookmark object into the collection.

        Parameters:
        bookMark - The Bookmark object to be added.
      • copyTo

        public void copyTo(Bookmark[] bookMarkArray,
                  int index)

        Copies the elements to a Bookmark object array, starting at a specified array index.

        Parameters:
        bookMarkArray - The Bookmarks array.
        index - The start index.
      • remove

        public void remove(Bookmark bookMark)

        Removes a Bookmark object from the collection.

        Parameters:
        bookMark - The Bookmark object to be removed.
      • get_Item

        public Bookmark get_Item(int index)

        Gets a Bookmark object from the collection according to bookmark index.

        Specified by:
        get_Item in interface com.aspose.ms.System.Collections.IList
        Overrides:
        get_Item in class com.aspose.ms.System.Collections.CollectionBase
        Parameters:
        index - Index of accessed object.
        Returns:
        Object which is referenced.
      • set_Item

        public void set_Item(int index,
                    Bookmark value)

        Sets a Bookmark object from the collection according to bookmark index.

        Parameters:
        index - int value
        value - Bookmark object