|
PDF Clown 0.1.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pdfclown.documents.PageFormat
public final class PageFormat
Page format.
This utility provides an easy access to the dimension of common page formats.
Document.setPageSize(Dimension2D),
Page.setSize(Dimension2D)| Nested Class Summary | |
|---|---|
static class |
PageFormat.OrientationEnum
Page orientation. |
static class |
PageFormat.SizeEnum
Paper size. |
| Method Summary | |
|---|---|
static Dimension |
getSize()
Gets the default page size. |
static Dimension |
getSize(PageFormat.SizeEnum size)
Gets the page size of the given format, portrait orientation. |
static Dimension |
getSize(PageFormat.SizeEnum size,
PageFormat.OrientationEnum orientation)
Gets the page size of the given format and orientation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Dimension getSize()
The returned dimension corresponds to the widely-established ISO A4 standard paper format, portrait orientation.
public static Dimension getSize(PageFormat.SizeEnum size)
size - Page size.
public static Dimension getSize(PageFormat.SizeEnum size,
PageFormat.OrientationEnum orientation)
size - Page size.orientation - Page orientation.
|
PDF Clown 0.1.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||