Template
Overview
Template is a class in Aspose.PDF FOSS for TypeScript.
A reusable piece of drawn content, placed on any number of pages from a single Form XObject.
This class declares 2 methods for Template objects in TypeScript programs.
Available methods include: PlaceOn, constructor.
All public members are accessible to any TypeScript application after installing the Aspose.PDF FOSS for TypeScript package.
Properties: page.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
page | Page | Read | Gets the page. |
Methods
| Signature | Description |
|---|---|
constructor(doc: Document, width: number, height: number) | @internal Use {@link Document.NewTemplate}. |
PlaceOn(page: Page, rect: [number, number, number, number], opts: PlaceOptions) | Draw this template onto page inside rect ([x, y, w, h]). |