PaddingInfo
New in 0.3.0
Version 0.4.0
Describes padding information
Properties
Name |
Type |
Access |
Description |
$bottom |
float |
Normal |
Stores distance from bottom |
$left |
float |
Normal |
Stores distance from left |
$right |
float |
Normal |
Stores distance from right |
$top |
float |
Normal |
Stores distance from top |
$unitInfo |
UnitInfo |
Normal |
Stores page orientation |
Methods
Name |
Type |
Description |
pageNarrow() |
PaddingInfo |
Creates 'Narrow' page margin. Top: 1,27cm; Bottom: 1,27cm; Left: 1,27cm; Right: 1,27cm. |
pageNormal() |
PaddingInfo |
Creates 'Normal' page margin. Top: 2,54cm; Bottom: 2,54cm; Left: 2,54cm; Right: 2,54cm. |
pageModerate() |
PaddingInfo |
Creates 'Moderate' page margin. Top: 2,54cm; Bottom: 2,54cm; Left: 1,91cm; Right: 1,91cm. |
pageWide() |
PaddingInfo |
Creates 'Wide' page margin. Top: 2,54cm; Bottom: 2,54cm; Left: 5,08cm; Right: 5,08cm. |