Skip to content

Instantly share code, notes, and snippets.

@HashRaygoza
Created May 1, 2018 19:43
Show Gist options
  • Save HashRaygoza/25bc89475840714b5146cf5612b2f428 to your computer and use it in GitHub Desktop.
Save HashRaygoza/25bc89475840714b5146cf5612b2f428 to your computer and use it in GitHub Desktop.
Especificar la altura de una celda en iText 7
// Creamos una celda
Cell celda1 = new Cell();
// Agregamos el contenido de la celda
celda1.add(new Paragraph("Celda 1"));
// indicamos la altura para la celda
celda1.setHeight(altura);
// agregamos esa celda a la tabla
tabla.addCell(celda1);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment