Click or drag to resize
Table Class
Table class represents the Excel table object defined in Aceoffix.
Inheritance Hierarchy
SystemObject
  Aceoffix.ExcelWriterTable

Namespace: Aceoffix.ExcelWriter
Assembly: Aceoffix (in Aceoffix.dll) Version: 5.0.0.1
Syntax
public class Table

The Table type exposes the following members.

Methods
  NameDescription
Public methodCode exampleClose
Closes the current Table.
Public methodCode exampleMerge
Creates a merged cell from the current Table.
Public methodMerge(Boolean)
Creates a merged cell form the current Table or merges all columns in the Table into one column.
Public methodCode exampleNextRow
Moves to the next record row in the Table.
Top
Properties
  NameDescription
Public propertyCode exampleBackColor
Sets the back color of the Table.
Public propertyCode exampleBorder
Gets the border object of the Table.
Public propertyCode exampleColumnWidth
Sets the width of all columns in the Table.
Public propertyCode exampleDataFields
Gets a collection of DataFields of the current record.
Public propertyFont
Gets the font object.
Public propertyCode exampleForeColor
Sets the fore color of the Table.
Public propertyHorizontalAlignment
Sets the horizontal alignment of the table.
Public propertyNumberFormatLocal
Sets data display format of the table.
Public propertyRangeAddress
Gets the range address of the Table. For example:"A1:F5".
Public propertyReadOnly
Sets a value that indicates whether the Table is read-only.
Public propertyCode exampleRowHeight
Sets the height of all the rows in the Table, measured in points.
Public propertyVerticalAlignment
Sets the vertical alignment of the table.
Top
Remarks

Table class is an important Excel table class defined in Aceoffix.

In Excel worksheet, we can define any range of cells containing a contiguous block of cells as a Table object. Table class encapsulates a series of data operations implementing in the continuous range of cells based on data table. Table class simplifies the complex operations to the ranges of Excel cells. And developer can work in the range of Excel cells as simple as in data table. Therefore, development efficiency and code stability are improved.

You can use Table object not only to fill data into a specified range of cells, but also to draw a new table on a blank range.

You can only call the OpenTable(String) method and [M:Aceoffix.ExcelWriter.Sheet.OpenTableByDefinedName(System.String, System.Int, System.Int)] method to get the Table object.

See Also