Package | Description |
---|---|
com.itextpdf.kernel.geom | |
com.itextpdf.kernel.pdf | |
com.itextpdf.layout | |
com.itextpdf.layout.element | |
com.itextpdf.layout.renderer |
Modifier and Type | Field and Description |
---|---|
static PageSize |
PageSize.A0 |
static PageSize |
PageSize.A1 |
static PageSize |
PageSize.A10 |
static PageSize |
PageSize.A2 |
static PageSize |
PageSize.A3 |
static PageSize |
PageSize.A4 |
static PageSize |
PageSize.A5 |
static PageSize |
PageSize.A6 |
static PageSize |
PageSize.A7 |
static PageSize |
PageSize.A8 |
static PageSize |
PageSize.A9 |
static PageSize |
PageSize.B0 |
static PageSize |
PageSize.B1 |
static PageSize |
PageSize.B10 |
static PageSize |
PageSize.B2 |
static PageSize |
PageSize.B3 |
static PageSize |
PageSize.B4 |
static PageSize |
PageSize.B5 |
static PageSize |
PageSize.B6 |
static PageSize |
PageSize.B7 |
static PageSize |
PageSize.B8 |
static PageSize |
PageSize.B9 |
static PageSize |
PageSize.DEFAULT |
static PageSize |
PageSize.EXECUTIVE |
static PageSize |
PageSize.LEDGER |
static PageSize |
PageSize.LEGAL |
static PageSize |
PageSize.LETTER |
static PageSize |
PageSize.TABLOID |
Modifier and Type | Method and Description |
---|---|
PageSize |
PageSize.rotate()
Rotates PageSize clockwise.
|
Modifier and Type | Method and Description |
---|---|
PageSize |
PdfDocument.getDefaultPageSize()
Gets default page size.
|
Modifier and Type | Method and Description |
---|---|
PdfPage |
PdfDocument.addNewPage(int index, PageSize pageSize)
Creates and inserts new page to the document.
|
PdfPage |
PdfDocument.addNewPage(PageSize pageSize)
Creates and adds new page with the specified page size.
|
PdfPage |
IPdfPageFactory.createPdfPage(PdfDocument pdfDocument, PageSize pageSize)
Create PdfPage with given page size and add it to the PdfDocument .
|
void |
PdfDocument.setDefaultPageSize(PageSize pageSize)
Sets default page size.
|
Constructor and Description |
---|
PdfPage(PdfDocument pdfDocument, PageSize pageSize) |
Modifier and Type | Method and Description |
---|---|
Rectangle |
Document.getPageEffectiveArea(PageSize pageSize)
Returns the area that will actually be used to write on the page, given the current margins.
|
Constructor and Description |
---|
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 .
|
Modifier and Type | Field and Description |
---|---|
protected PageSize |
AreaBreak.pageSize |
Modifier and Type | Method and Description |
---|---|
PageSize |
AreaBreak.getPageSize()
Gets the page size.
|
Modifier and Type | Method and Description |
---|---|
void |
AreaBreak.setPageSize(PageSize pageSize)
Sets the page size.
|
Constructor and Description |
---|
AreaBreak(PageSize pageSize)
Creates an AreaBreak.
|
Modifier and Type | Method and Description |
---|---|
protected PageSize |
DocumentRenderer.addNewPage(PageSize customPageSize)
Adds new page with defined page size to PDF document.
|
protected PageSize |
DocumentRenderer.ensureDocumentHasNPages(int n, PageSize customPageSize)
Ensures that PDF document has n pages.
|
Modifier and Type | Method and Description |
---|---|
protected PageSize |
DocumentRenderer.addNewPage(PageSize customPageSize)
Adds new page with defined page size to PDF document.
|
protected PageSize |
DocumentRenderer.ensureDocumentHasNPages(int n, PageSize customPageSize)
Ensures that PDF document has n pages.
|
Copyright © 1998–2022 iText Group NV. All rights reserved.