new PdfSection()
A PdfSection is an object defining a group of pages within a Pdf that all share the same page style. To make a new PdfSection, call 'addSection' on the Pdf you wish to add the section to. [NON-INSTANTIABLE]
MEMBERS
-
bottomMargin :number
-
The size of the bottom margin of the pages within this PdfSection.
- Default Value:
- 150
-
inheritedTypes :object
-
Dictionary object listing all of the types this object is compatible with.
-
leftMargin :number
-
The size of the left margin of the pages within this PdfSection.
- Default Value:
- 150
-
pageHeight :number
-
The height of the pages within this PdfSection.
- Default Value:
- 3300
-
pageWidth :number
-
The width of the pages within this PdfSection.
- Default Value:
- 2550
-
rightMargin :number
-
The size of the right margin of the pages within this PdfSection.
- Default Value:
- 150
-
topMargin :number
-
The size of the top margin of the pages within this PdfSection.
- Default Value:
- 150
-
type :string
-
Type identifier.
METHODS
-
addParagraph() returns {PdfParagraph}
-
Adds a new PdfParagraph to this PdfSection and returns it. A PdfParagraphic is simply a block of text.
Returns:
PdfParagraph