GH_HtmlTable

public class GH_HtmlTable

Constructors

GH_HtmlTable

#
public GH_HtmlTable()

GH_HtmlTable

#
public GH_HtmlTable(int rows, int columns, bool FirstRowIsHeader)
rows (int)
columns (int)
FirstRowIsHeader (bool)

Fields

m_border

#
protected int m_border

m_padding

#
protected int m_padding

m_rows

#
protected List<GH_HtmlTableRow> m_rows

m_width

#
protected int m_width

Properties

Border

#
public int Border { get; set; }

ColumnWidth

#
public int ColumnWidth[int index] { get; set; }
Gets or sets the column width. The width is specified as a percentage.
index (int)Index of column.

Content

#
public string Content[int row, int column] { get; set; }
Gets or sets the content for a specific cell. The content may contain html tags.
row (int)Row index.
column (int)Column index.

Padding

#
public int Padding { get; set; }

Row

#
public GH_HtmlTableRow Row[int index] { get; set; }
Gets or sets a single HTML row object. Usually you do not need to set rows yourself. Consider using the Content() property instead.
index (int)Index of row.

Width

#
public int Width { get; set; }
Gets or sets the width (in page width percentages) of the entire table.

Methods

FormatHtml

#
public string FormatHtml()

SetAllTextSizes

#
public void SetAllTextSizes(int nSize)
nSize (int)