iTextSharp table.SpacingBefore not working
问题 I have a table which I'm trying to space down about 20/30 floating points (f) from the top margin of a pdf document. The reason I want to space down a bit is because I have a rectangle border running around the margin of my pdf document. PdfPTable table = new PdfPTable(1); table.SpacingBefore = 20f; table.SpacingAfter = 20f; table.TotalWidth = 700f; table.LockedWidth = true; table.SpacingAfter works perfectly well but table.SpacingBefore will not, my table just sits at the top margin and will