You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, i created the following code, the header row isn't added, i checked also with a pdf inspector and the first object added is the next row but not the header (i used iText RUPS to check the pdf structure).
Hi, i created the following code, the header row isn't added, i checked also with a pdf inspector and the first object added is the next row but not the header (i used iText RUPS to check the pdf structure).
`float yStartNewPage = page.getMediaBox().getHeight() - (2 * margin);
float tableWidth = page.getMediaBox().getWidth() - (2 * margin);
boolean drawContent = true;
//NOT ADDED
Row headerRow = table.createRow(50);
headerRow.setHeaderRow(true);
Cell cell = headerRow.createCell(100, "HEADER");
cell.setFontSize(12);
cell.setValign(VerticalAlignment.MIDDLE);
table.addHeaderRow(headerRow);
//Editable field ADDED
The text was updated successfully, but these errors were encountered: