Hi!
// Setting up margins
Buch = new Pdf();
Buch.PageSetup.PageHeight = PageSize.A6Height;
Buch.PageSetup.PageWidth = PageSize.A6Width;
Section section = Buch.Sections.Add();
section.PageInfo.Margin.Left = 0;
section.PageInfo.Margin.Right = 0;
section.PageInfo.Margin.Inner = 1.8f.CmToPoint();
section.PageInfo.Margin.Outer = 1.2f.CmToPoint();
section.PageInfo.Margin.Bottom = .3f.CmToPoint();
section.PageInfo.Margin.Top = 2.1f.CmToPoint();// setting up table
Table ratIndexTable = new Table(section);
ratIndexTable.ColumnWidths = 4f.CmToPoint() + " " + .5f.CmToPoint() + " " + 2.6f.CmToPoint();
ratIndexTable.IsFirstRowRepeated = false;
section.Paragraphs.Add(ratIndexTable);
foreach (…)
{
// Add row and cells
}