public class PageLayout extends Object
Constructor and Description |
---|
PageLayout()
Constructor to initialize a default page layout.
|
Modifier and Type | Method and Description |
---|---|
double |
getPageHeight()
Returns the page height in inches.
|
double |
getPageWidth()
Returns the page width in inches.
|
void |
setPageSize(double pageWidth,
double pageHeight)
Sets a custom page size.
|
public PageLayout()
public void setPageSize(double pageWidth, double pageHeight)
pageWidth
- width of the page in inchespageHeight
- height of the page in inchespublic double getPageWidth()
public double getPageHeight()
Copyright © 2020 Adobe. All rights reserved.