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

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 cells
  • HTMLC_TABLE_CELL_OPT_HORIZ_LALIGN — left align the table cell element
  • HTMLC_TABLE_CELL_OPT_HORIZ_RALIGN — right align the table cell element
  • HTMLC_TABLE_CELL_OPT_HORIZ_CENTER — center the table cell element
  • HTMLC_TABLE_CELL_OPT_VERT_TOP — top align the table cell element
  • HTMLC_TABLE_CELL_OPT_VERT_BOTTOM — bottom align the table cell element
  • HTMLC_TABLE_CELL_OPT_VERT_CENTER — center the table cell element
  • HTMLC_TABLE_CELL_OPT_NO_WRAP — disable line wrapping of cell content

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com