com.groupdocs.parser

Interfaces

Classes

Exceptions

com.groupdocs.parser

Class TableArea



  • public final class TableArea
    extends Object

    Provides a table area.

    • Constructor Detail

      • TableArea

        public TableArea(com.aspose.ms.System.Collections.Generic.IGenericList<Double> rows,
                 com.aspose.ms.System.Collections.Generic.IGenericList<Double> columns,
                 com.aspose.ms.System.Collections.Generic.IGenericList<TableAreaCell> cells)

        Initializes a new instance of the TableArea class.

        Parameters:
        rows - A collection of row separators.
        columns - A collection of column separators.
        cells - A collection of the cells.
    • Method Detail

      • getRowCount

        public int getRowCount()

        Gets a number of table rows.

        Returns:
        An integer value that represents a number of rows in the table.
      • getColumnCount

        public int getColumnCount()

        Gets a number of table columns.

        Returns:
        An integer value that represents a number of columns in the table.
      • get_Item

        public TableAreaCell get_Item(int row,
                             int column)

        Gets a cell of the table.

        Parameters:
        row - A zero-based index of the row.
        column - A zero-based index of the column.
        Returns:
        An instance of the TableAreaCell with specified row and column or null if cell was not found.
      • getRowHeight

        public double getRowHeight(int row)

        Gets a height of the row.

        Parameters:
        row - A zero-based index of the row.
        Returns:
        A double value that represents a height of the row.
      • getColumnWidth

        public double getColumnWidth(int column)

        Gets a width of the row.

        Parameters:
        column - A zero-based index of the column.
        Returns:
        A double value that represents a width of the column.