com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class PageLabelCollection



  • public class PageLabelCollection
    extends Object
    Class represeingting page label collection.
    • Method Detail

      • getLabel

        public PageLabel getLabel(int pageIndex)

        Gets page label by page index (page index is started from 0).

        Parameters:
        pageIndex - Index of the page.
        Returns:
        Page label for specified page index or null if page label does not exist.
      • updateLabel

        public void updateLabel(int pageIndex,
                       PageLabel pageLabel)

        Update label for given page index (page index is started from 0).

        Parameters:
        pageIndex - Index of page to change lable of the page.
        pageLabel - New label of the page.
      • removeLabel

        public boolean removeLabel(int pageIndex)

        Remove label by page index (page index is started from 0).

        Parameters:
        pageIndex - Index of page where label must be deleted.
        Returns:
        true if operation was executed successfully.
      • getPages

        public int[] getPages()

        Gets page indexes in collection.

        Returns:
        Array of integers which contains indexes of the pages.