Example usage for Java com.itextpdf.layout Document fields, constructors, methods, implement or subclass
The text is from its open source code.
Document(PdfDocument pdfDoc) Creates a document from a PdfDocument . | |
Document(PdfDocument pdfDoc, PageSize pageSize) Creates a document from a PdfDocument with a manually set PageSize . | |
Document(PdfDocument pdfDoc, PageSize pageSize, boolean immediateFlush) Creates a document from a PdfDocument with a manually set PageSize . |
Document | add(AreaBreak areaBreak) Terminates the current element, usually a page. |
Document | add(IBlockElement element) |
void | close() Closes the document and associated PdfDocument. |
void | setMargins(float topMargin, float rightMargin, float bottomMargin, float leftMargin) Convenience method to set all margins with one method. |