public Rdl.TableType CreateTable() { Rdl.TableType table = new Rdl.TableType(); table.Name = "Table1"; try { table.Items = new object[] { CreateTableColumns(), //cretae columns CreateHeader(), // cretae headers CreateDetails(), // Create Table rows and set the cell sizes "25pt", //"1.5in", //"1.5in", }; table.ItemsElementName = new Rdl.ItemsChoiceType21[] { Rdl.ItemsChoiceType21.TableColumns, Rdl.ItemsChoiceType21.Header, Rdl.ItemsChoiceType21.Details, Rdl.ItemsChoiceType21.Top, //Rdl.ItemsChoiceType21.Height, //Rdl.ItemsChoiceType21.Width, }; } catch (Exception ex) { } return(table); }
public TableType CreateTable() { var table = new TableType(); table.Name = "Table1"; table.Items = new object[] { CreateTableColumns(), CreateHeader(), CreateDetails(), }; table.ItemsElementName = new[] { ItemsChoiceType21.TableColumns, ItemsChoiceType21.Header, ItemsChoiceType21.Details, }; return table; }