Created
May 1, 2018 19:43
-
-
Save HashRaygoza/25bc89475840714b5146cf5612b2f428 to your computer and use it in GitHub Desktop.
Especificar la altura de una celda en iText 7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // 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