Used to operate on a document object.
Class Doc
| Methods | |
| addPage | Creates a new page and adds it after the last page of a document. |
| getFont | Gets a font object for the specified font name. |
| insertPage | Creates a new page and inserts it just before the specified page. |
Creates a new page and adds it after the last page of a document.
Doc.addPage()
| Return | A new Page instance. |
Gets a font object for the specified font name.
Doc.getFont( fontName, [encodingName] )
| fontName | A valid font name. |
| encodingName | A valid encoding name. |
| Return | A Font instance. |
Creates a new page and inserts it just before the specified page.
Doc.insertPage( page )
| page | The page in front of which the new page will be inserted. |
| Return | A new Page instance. |