devvvy - 2010-12-06

How to set row/alternate row style  - in old pre-beta version (i.e. version <2), this is how it's done. But pdfColor constructor now changed and pdfTable.rowStyle is READ ONLY

contentTab.tableHeaderStyle = new pdfTableRowStyle(sharpPDF.Enumerators.predefinedFont.csCourier, 8,
                        new pdfColor(sharpPDF.Enumerators.predefinedColor.csWhite),
                        new pdfColor(sharpPDF.Enumerators.predefinedColor.csDarkBlue));

                    contentTab.rowStyle = new pdfTableRowStyle(sharpPDF.Enumerators.predefinedFont.csCourier, 7,
                        new pdfColor(sharpPDF.Enumerators.predefinedColor.csBlack),
                        new pdfColor(sharpPDF.Enumerators.predefinedColor.csWhite));

                    contentTab.alternateRowStyle = new pdfTableRowStyle(sharpPDF.Enumerators.predefinedFont.csCourier, 7,
                        new pdfColor(sharpPDF.Enumerators.predefinedColor.csBlack),
                        new pdfColor(sharpPDF.Enumerators.predefinedColor.csLightGray));

For instance, I cannot write something like:
     contentTab.rowStyle = new pdfTableStyle(Font, TableRowFontSize, new pdfColor("Black"), new pdfColor("White"));