| Package | Description |
|---|---|
| rst.pdfbox.layout.elements | |
| rst.pdfbox.layout.elements.render |
| Modifier and Type | Method and Description |
|---|---|
Orientation |
Document.getOrientation()
Deprecated.
use
Document.getPageFormat() instead. |
Orientation |
PageFormat.getOrientation() |
static Orientation |
Orientation.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Orientation[] |
Orientation.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
PageFormat.PageFormatBuilder |
PageFormat.PageFormatBuilder.orientation(Orientation orientation)
Sets the orientation to the given one.
|
| Constructor and Description |
|---|
PageFormat(org.apache.pdfbox.pdmodel.common.PDRectangle mediaBox,
Orientation orientation)
Creates a PageFormat with a given size and orientation.
|
PageFormat(org.apache.pdfbox.pdmodel.common.PDRectangle mediaBox,
Orientation orientation,
float marginLeft,
float marginRight,
float marginTop,
float marginBottom)
Creates a Document based on the given media box and margins.
|
PageFormat(org.apache.pdfbox.pdmodel.common.PDRectangle mediaBox,
Orientation orientation,
int rotation,
float marginLeft,
float marginRight,
float marginTop,
float marginBottom)
Creates a Document based on the given media box and margins.
|
| Modifier and Type | Method and Description |
|---|---|
Orientation |
RenderContext.getOrientation()
Deprecated.
use
RenderContext.getPageFormat() instead. |
protected Orientation |
RenderContext.getPageOrientation() |
Copyright © 2021. All rights reserved.