[This is preliminary documentation and is subject to change.]
The purpose for this class right now is to construct a table, set the contents of the seperate
cells and convert it to a HTML table. In the future, this class may be enhanced to convert it to
other formats.
The structure of the table without the header(s) is as follows:
- A Table contains zero or more rows.
- A row contains one or more cells.
- A cell contains zero or more items.
| C# | Visual Basic | Visual C++ |
public class Table
Public Class Table
public ref class Table
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| Table(Int32) |
Constructor.
| |
| AddBlackItem(Int32, String) |
Add an item to the cell in the current row, indicated by the supplied column number.
The item text will be made black.
| |
| AddHeader(array<String>[]()[]) |
Add a header to the table.
| |
| AddItem(Int32, String) |
Add an item to the cell in the current row, indicated by the supplied column number.
| |
| AddRedItem(Int32, String) |
Add an item to the cell in the current row, indicated by the supplied column number.
The item text will be made red.
| |
| CellItemSeperator | ||
| ConvertToHtml()()() |
Convert the table to HTML.
| |
| EmptyCellPrefix |
When a cell is empty (has no cell prefix and no items), this string is used
as prefix.
| |
| Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
| Finalize()()() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode()()() | Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
| GetType()()() | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| NewRow()()() |
Add a new row to the table.
| |
| SetCellPrefix(Int32, String) |
Add a prefix for a cell.
| |
| SetColumnPixelWidths(array<Int32>[]()[]) |
Set the width of the user defined columns in pixels.
This method must be called before calling the method ConvertToHtml.
| |
| ToString()()() | Returns a String that represents the current Object. (Inherited from Object.) |
| Object | |
| Table | |