public class ShrinkToPortrait extends ImageMapping
getPageSize()
.Constructor | Description |
---|---|
ShrinkToPortrait() |
Modifier and Type | Method | Description |
---|---|---|
Margin |
getPageMargin() |
The page margin (Getter)
|
Size |
getPageSize() |
The page size (Getter)
|
void |
setPageMargin(Margin value) |
The page margin (Setter)
|
void |
setPageSize(Size value) |
The page size (Setter)
|
equals, hashCode
public Size getPageSize()
All output pages are created as that size and in portrait mode.
Default value: "A4" (210mm 297mm)
public void setPageSize(Size value)
All output pages are created as that size and in portrait mode.
Default value: "A4" (210mm 297mm)
java.lang.IllegalArgumentException
- The argument is smaller than "3pt 3pt" or larger than "14400pt 14400pt".java.lang.IllegalArgumentException
- if value
is null
public Margin getPageMargin()
public void setPageMargin(Margin value)
java.lang.IllegalArgumentException
- The argument has negative margin values.java.lang.IllegalArgumentException
- if value
is null