public class PageSize extends Object
PdfProducer
Modifier and Type | Field and Description |
---|---|
static PageSize |
A0 |
static PageSize |
A1 |
static PageSize |
A10 |
static PageSize |
A2 |
static PageSize |
A3 |
static PageSize |
A4 |
static PageSize |
A5 |
static PageSize |
A6 |
static PageSize |
A7 |
static PageSize |
A8 |
static PageSize |
A9 |
static PageSize |
B0 |
static PageSize |
B1 |
static PageSize |
B10 |
static PageSize |
B2 |
static PageSize |
B3 |
static PageSize |
B4 |
static PageSize |
B5 |
static PageSize |
B6 |
static PageSize |
B7 |
static PageSize |
B8 |
static PageSize |
B9 |
static PageSize |
EXECUTIVE |
static PageSize |
LEDGER |
static PageSize |
LEGAL |
static PageSize |
LETTER |
static PageSize |
TABLOID |
Constructor and Description |
---|
PageSize(float width, float height)
Constructs a new PageSize instance by its width and height.
|
Modifier and Type | Method and Description |
---|---|
float |
getHeight()
Gets page height in points
|
float |
getWidth()
Gets page width in points
|
PageSize |
rotate()
Rotates PageSize clockwise.
|
public static PageSize A0
public static PageSize A1
public static PageSize A2
public static PageSize A3
public static PageSize A4
public static PageSize A5
public static PageSize A6
public static PageSize A7
public static PageSize A8
public static PageSize A9
public static PageSize A10
public static PageSize B0
public static PageSize B1
public static PageSize B2
public static PageSize B3
public static PageSize B4
public static PageSize B5
public static PageSize B6
public static PageSize B7
public static PageSize B8
public static PageSize B9
public static PageSize B10
public static PageSize LETTER
public static PageSize LEGAL
public static PageSize TABLOID
public static PageSize LEDGER
public static PageSize EXECUTIVE
public PageSize(float width, float height)
PageSize
instance by its width and height.
width
- width of the page, in points
height
- height of the page, in points
Copyright © 2021. All rights reserved.