Html_Table_Cell_Create()
Abstract
Creates a table cell that can be placed in a table row.
Syntax
Html_Table_Cell_Create (elem_ptr, color, options)
| Argument | Type | Description |
|---|---|---|
elem_ptr |
HtmlT_Element * |
pointer to the element to place in the cell |
color |
int |
the cell’s background color |
options |
int |
contains the desired options combined as a bitwise OR (see Details) |
Return Type
HtmlT_Table_Cell *
the newly created cell
Header
html.h
Details
Creates an HtmlT_Table_Cell with given content, background color, and various options. Multiple options are indicated by passing a bitwise OR of all the desired options. The available options for the cell are:
HTMLC_TABLE_CELL_OPT_HEADER— uses special table header font for table cellsHTMLC_TABLE_CELL_OPT_HORIZ_LALIGN— left align the table cell elementHTMLC_TABLE_CELL_OPT_HORIZ_RALIGN— right align the table cell elementHTMLC_TABLE_CELL_OPT_HORIZ_CENTER— center the table cell elementHTMLC_TABLE_CELL_OPT_VERT_TOP— top align the table cell elementHTMLC_TABLE_CELL_OPT_VERT_BOTTOM— bottom align the table cell elementHTMLC_TABLE_CELL_OPT_VERT_CENTER— center the table cell elementHTMLC_TABLE_CELL_OPT_NO_WRAP— disable line wrapping of cell content