Table
Overview
Table is a class in Aspose.PDF FOSS for TypeScript.
A reconstructed table: a rows×cells model with page-space quads and text, serializable to HTML or Markdown.
This class declares 3 methods for Table objects in TypeScript programs.
Available methods include: constructor, toHtml, toMarkdown.
All public members are accessible to any TypeScript application after installing the Aspose.PDF FOSS for TypeScript package.
Properties: angle, page, quad.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
page | : number | Read | Gets the page. |
quad | : Rect | Read | Gets the quad. |
angle | `` | Read/Write | Rotation of the table in radians; 0 for axis-aligned. |
Methods
| Signature | Description |
|---|---|
constructor(quad: Rect, rowCount: number, colCount: number, rows: TableRow[], summary: string, pageSpans: { page: number; quad: Rect }[]) | Calls constructor(quad, rowCount, colCount, rows, summary, pageSpans) on this Table instance. |
toHtml() → string | Calls toHtml on this Table instance. |
toMarkdown() → string | Calls toMarkdown on this Table instance. |