asposecells.api

Class VerticalPageBreakCollection

Encapsulates a collection of VerticalPageBreak objects.

Property Getters/Setters Summary
methodgetCount()
methodget(index)
Gets the VerticalPageBreak element at the specified index.
methodget(cellName)
Gets the VerticalPageBreak element with the specified cell name.
 
Method Summary
methodadd(column)
Adds a vertical page break to the collection.
methodadd(row, column)
Adds a vertical page break to the collection.
methodadd(startRow, endRow, column)
Adds a vertical page break to the collection.
methodadd(value)
Reserved for internal use.
methodadd(cellName)
Adds a vertical page break to the collection.
methodclear()
methodcontains(value)
Reserved for internal use.
methodget(index)
Reserved for internal use.
methodindexOf(value)
Reserved for internal use.
methoditerator()
methodremoveAt(index)
Removes the VPageBreak element at a specified name.
 

    • Method Detail

      • add

        int add(startRow, endRow, column)
        Adds a vertical page break to the collection. This method is used to add a vertical pagebreak within a print area.
        Parameters:
        startRow: int - Start row index, zero based.
        endRow: int - End row index, zero based.
        column: int - Column index, zero based.
        Returns:
        VerticalPageBreak object index.
      • add

        int add(column)
        Adds a vertical page break to the collection. Page break is added in the top left of the cell. Please set a horizontal page break and a vertical page break concurrently.
        Parameters:
        column: int - Cell column index, zero based.
        Returns:
        VerticalPageBreak object index.
      • add

        int add(row, column)
        Adds a vertical page break to the collection. Page break is added in the top left of the cell. Please set a horizontal page break and a vertical page break concurrently.
        Parameters:
        row: int - Cell row index, zero based.
        column: int - Cell column index, zero based.
        Returns:
        VerticalPageBreak object index.
      • add

        int add(cellName)
        Adds a vertical page break to the collection. Page break is added in the top left of the cell. Please set a horizontal page break and a vertical page break concurrently.
        Parameters:
        cellName: String - Cell name.
        Returns:
        VerticalPageBreak object index.
      • removeAt

         removeAt(index)
        Removes the VPageBreak element at a specified name.
        Parameters:
        index: int - Element index, zero based.
      • clear

         clear()
      • iterator

        Iterator iterator()
      • get

        Object get(index)
        Reserved for internal use.
      • contains

        boolean contains(value)
        Reserved for internal use.
      • add

        int add(value)
        Reserved for internal use.
      • indexOf

        int indexOf(value)
        Reserved for internal use.