com.groupdocs.parser.options

Class PageRenderInfo



  • public class PageRenderInfo
    extends Object
    Represents the information of how a page is rendered.

    Some documents (spreadsheets, for example) are not possible to render a page as a single image. For those documents a page is rendered as a set of tiles. These tiles are placed in the rectangular table.

    RowCount and ColumnCount represent the total number of rows and columns of this table. If document page is rendered to the single image these properties are equal to 1.

    • Constructor Detail

      • PageRenderInfo

        public PageRenderInfo(int pageNumber,
                      int rowCount,
                      int columnCount)
        Initializes a new instance of the PageRenderInfo class.
        Parameters:
        pageNumber - The number of the page (starts with 1).
        rowCount - The total number of tiles rows.
        columnCount - The total number of tiles columns.
    • Method Detail

      • getPageNumber

        public int getPageNumber()
        Gets the page number.
        Returns:
        The integer value that represents the page number (starts with 1).
      • getRowCount

        public int getRowCount()
        Get the total number of tiles rows.
        Returns:
        The integer value that represents the total number of tiles rows.
      • getColumnCount

        public int getColumnCount()
        Get the total number of tiles columns.
        Returns:
        The integer value that represents the total number of tiles columns.
      • getColumn

        public int getColumn(int tileIndex)
        Returns the index of column where the tile with tileIndex is placed.
        Parameters:
        tileIndex - The zero-based index of the tile.
        Returns:
        The zero-based integer value that represents the column index.
      • getRow

        public int getRow(int tileIndex)
        Returns the index of row where the tile with tileIndex is placed.
        Parameters:
        tileIndex - The zero-based index of the tile.
        Returns:
        The zero-based integer value that represents the row index.