/// <summary> /// Class's constructor /// </summary> /// <param name="tableHeader">Row Template based on Table's Header</param> internal pdfTableRow(pdfTableHeader tableHeader) { foreach(pdfTableColumn myCol in tableHeader) { _cols.Add(new pdfTableColumn("", myCol.columnAlign, myCol.columnSize)); } }
/// <summary> /// Class's constructor /// </summary> /// <param name="tableHeader">Row Template based on Table's Header</param> internal pdfTableRow(pdfTableHeader tableHeader) { foreach (pdfTableColumn myCol in tableHeader) { _cols.Add(new pdfTableColumn("", myCol.columnAlign, myCol.columnSize)); } }
/// <summary> /// Class's Constructor /// </summary> public pdfTable() { _tableHeader = new pdfTableHeader(); _tableHeaderStyle = new pdfTableRowStyle(predefinedFont.csHelvetica, 10, predefinedColor.csBlack, predefinedColor.csWhite); _rowStyle = new pdfTableRowStyle(predefinedFont.csHelvetica, 10, predefinedColor.csBlack, predefinedColor.csWhite); _alternateRowStyle = null; _borderSize = 1; _borderColor = new pdfColor(predefinedColor.csBlack); _cellpadding = 5; }
/// <summary> /// Class's Constructor /// </summary> public pdfTable() { _tableHeader = new pdfTableHeader(); _tableHeaderStyle = new pdfTableRowStyle(predefinedFont.csHelvetica, 10, new pdfColor(predefinedColor.csBlack), new pdfColor(predefinedColor.csWhite)); _rowStyle = new pdfTableRowStyle(predefinedFont.csHelvetica, 10, new pdfColor(predefinedColor.csBlack), new pdfColor(predefinedColor.csWhite)); _alternateRowStyle = null; _borderSize = 1; _borderColor = new pdfColor(predefinedColor.csBlack); _cellpadding = 5; }