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

NameTypeAccessDescription
page: numberReadGets the page.
quad: RectReadGets the quad.
angle``Read/WriteRotation of the table in radians; 0 for axis-aligned.

Methods

SignatureDescription
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()stringCalls toHtml on this Table instance.
toMarkdown()stringCalls toMarkdown on this Table instance.