Table Class
Represents a table that can be added to the page.
Inheritance Hierarchy

Namespace: Aspose.Pdf
Assembly: Aspose.PDF (in Aspose.PDF.dll) Version: 20.5
Syntax
public sealed class Table : BaseParagraph

The Table type exposes the following members.

Constructors
  NameDescription
Public methodTable
Initializes a new instance of the Table class
Properties
  NameDescription
Public propertyAlignment
Gets or sets the table alignment.
Public propertyBackgroundColor
Gets or sets table background color
Public propertyBorder
Gets or sets the border.
Public propertyBreakText
Gets or sets break text for table
Public propertyBroken
Gets or sets table vertial broken;
Public propertyColumnAdjustment
Gets or sets the table column adjustment.
Public propertyColumnWidths
Gets the column widths of the table.
Public propertyCornerStyle
Gets or sets the styles of the border corners
Public propertyDefaultCellBorder
Gets default cell border;
Public propertyDefaultCellPadding
Gets or sets the default cell padding.
Public propertyDefaultCellTextState
Gets or sets the default cell text state.
Public propertyDefaultColumnWidth
Gets default cell border;
Public propertyHorizontalAlignment
Gets or sets a horizontal alignment of paragraph
(Inherited from BaseParagraph.)
Public propertyHyperlink
Gets or sets the fragment hyperlink(for pdf generator).
(Inherited from BaseParagraph.)
Public propertyIsBordersIncluded
Gets or sets border included in column widhts.
Public propertyIsBroken
Gets or sets the table is broken - will be truncated for next page.
Public propertyIsFirstParagraphInColumn
Gets or sets a bool value that indicates whether this paragraph will be at next column. Default is false.(for pdf generation)
(Inherited from BaseParagraph.)
Public propertyIsInLineParagraph
Gets or sets a paragraph is inline. Default is false.(for pdf generation)
(Inherited from BaseParagraph.)
Public propertyIsInNewPage
Gets or sets a bool value that force this paragraph generates at new page. Default is false.(for pdf generation)
(Inherited from BaseParagraph.)
Public propertyIsKeptWithNext
Gets or sets a bool value that indicates whether current paragraph remains in the same page along with next paragraph. Default is false.(for pdf generation)
(Inherited from BaseParagraph.)
Public propertyLeft
Gets or sets the table left coordinate.
Public propertyMargin
Gets or sets a outer margin for paragraph (for pdf generation)
(Inherited from BaseParagraph.)
Public propertyRepeatingColumnsCount
Gets or sets the maximum columns count for table
Public propertyRepeatingRowsCount
Gets the first rows count repeated for several pages
Public propertyRepeatingRowsStyle
Gets the style for repeating rows
Public propertyRows
Gets the rows of the table.
Public propertyTop
Gets or sets the table top coordinate.
Public propertyVerticalAlignment
Gets or sets a vertical alignment of paragraph
(Inherited from BaseParagraph.)
Public propertyZIndex
Gets or sets a int value that indicates the Z-order of the graph. A graph with larger ZIndex will be placed over the graph with smaller ZIndex. ZIndex can be negative. Graph with negative ZIndex will be placed behind the text in the page.
(Inherited from BaseParagraph.)
Methods
  NameDescription
Public methodClone
Clone the table.
(Overrides BaseParagraphClone.)
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetHeight
Get height.
Public methodGetType (Inherited from Object.)
Public methodGetWidth
Get width.
Public methodImportArray
Imports one-dimensional array of data into table. Import goes one cell per each array's item and starts from row and column defined in parameters. During import, if detected that necessary rows are still absent(i.e. target table is too small to absorb all data), necessary rows will be created
Public methodImportDataGrid(DataGrid, Int32, Byte) Obsolete.
Imports a DataGrid object with given rows and columns into the table.
Public methodImportDataGrid(DataGrid, Int32, Byte, Int32, Int32) Obsolete.
Imports a DataGrid object datagrid's data into the table with specified maximum amount of imported rows and columns.
Public methodImportDataTable(DataTable, Boolean, Int32, Int32)
Imports data from System.Data.DataTable into Aspose.Pdf.Table
Public methodImportDataTable(DataTable, Boolean, Int32, Byte, Int32, Int32, Boolean)
Imports a DataTable object into the table.
Public methodImportDataTable(DataTable, Int32, Int32, Int32, Int32, Boolean, Boolean)
Imports a DataTable object, but not as whole entity. Only specified rows and columns are imported.
Public methodImportDataView
Imports a DataView object's data into the table.
Public methodSetColumnTextState
Set height.
Public methodToString (Inherited from Object.)
See Also