public class Page extends BaseDomainConstant
Constructor and Description |
---|
Page() |
Page(int height,
int width)
Default constructor for portrait orientation
|
Page(int height,
int width,
boolean portrait) |
Modifier and Type | Method and Description |
---|---|
int |
getHeight() |
int |
getWidth() |
boolean |
isOrientationPortrait() |
static Page |
Page_A4_Landscape() |
static Page |
Page_A4_Portrait() |
static Page |
Page_Legal_Landscape() |
static Page |
Page_Legal_Portrait() |
static Page |
Page_Letter_Landscape() |
static Page |
Page_Letter_Portrait() |
void |
setHeight(int height) |
void |
setOrientationPortrait(boolean orientationPortrait) |
void |
setWidth(int width) |
public Page()
public Page(int height, int width)
height
- width
- public Page(int height, int width, boolean portrait)
public boolean isOrientationPortrait()
public void setOrientationPortrait(boolean orientationPortrait)
public int getHeight()
public void setHeight(int height)
public int getWidth()
public void setWidth(int width)
public static Page Page_A4_Portrait()
public static Page Page_A4_Landscape()
public static Page Page_Legal_Portrait()
public static Page Page_Legal_Landscape()
public static Page Page_Letter_Portrait()
public static Page Page_Letter_Landscape()
Copyright © 2006–2015 FDV Solutions. All rights reserved.