Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Table table = new Table();
- section.AddParagraph(m_tableTitle);
- Unit width = section.PageSetup.PageWidth;
- for (int col = 0; col < getMaxColumn(); col++)
- {
- table.AddColumn();
- }
- try
- {
- for (int _row = 0; _row < getMaxRow(); _row++)
- {
- table.AddRow();
- }
- table.Borders.Visible = true;
- table.SetEdge(0, 0, 0, 0, Edge.Box, BorderStyle.Single, 0.75, MigraDoc.DocumentObjectModel.Color.Empty);
- // add the created Table to the PdfDocument
- section.Add(table);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement