A wrapper for BpsMargins. More...
Public Member Functions | |
| Margins () | |
| Default constructor. | |
| Margins (Number aTopBottom, Number aLeftRight) | |
| Initializing constructor. | |
| Margins (Number aTop, Number aRight, Number aBottom, Number aLeft) | |
| Initializing constructor. | |
| String | toString () const |
Properties | |
| Number | bottom |
| The bottom margin. | |
| Number | left |
| The left margin. | |
| Number | right |
| The right margin. | |
| Number | top |
| The top margin. | |
A wrapper for BpsMargins.
Example use within a report:
// set top and bottom margins to 30 mm, left and right to 10 mm report.margins = new bps.Margins(30,10);
| bps::Margins::Margins | ( | Number | aTopBottom, |
| Number | aLeftRight | ||
| ) |
Initializing constructor.
| aTopBottom | The top and bottom margin. |
| aLeftRight | The left and right margin. |
| bps::Margins::Margins | ( | Number | aTop, |
| Number | aRight, | ||
| Number | aBottom, | ||
| Number | aLeft | ||
| ) |
Initializing constructor.
| aTop | The top margin. |
| aRight | The right margin. |
| aBottom | The bottom margin. |
| aLeft | The left margin. |
| String bps::Margins::toString | ( | ) | const |
Number bps::Margins::bottom [read, write] |
The bottom margin.
Number bps::Margins::left [read, write] |
The left margin.
Number bps::Margins::right [read, write] |
The right margin.
Number bps::Margins::top [read, write] |
The top margin.