public override bool CreatePrintingTable() { int rows = this.GetTotalRows(); int cols = this.GetTotalColumns(); if (rows == 0 || cols == 0) { return(false); } this.PrintingTable = new WebbTable(rows, cols); this.SetValues(); Int32Collection indicators = new Int32Collection(); StyleBuilder.StyleRowsInfo m_StyleInfo = new Styles.StyleBuilder.StyleRowsInfo(indicators, indicators, indicators, false, true); StyleBuilder styleBuilder = new StyleBuilder(); styleBuilder.BuildStyle(this.PrintingTable, m_StyleInfo, null, this.Styles, new Int32Collection()); this.PrintingTable.AutoAdjustSize(this.ExControl.CreateGraphics(), false, true); this.PrintingTable.SetNoWrap(); if (this.AdjustWidth) { this.ApplyColumnWidthStyle(cols); } return(true); }