• Draws a table on the provided PDF document page.

    Parameters

    • doc: default

      PDF document to draw in

    • page: default

      Page to draw table on

    • table: CellContent[][] | TableObject

      2D array of string data representing the table

    • startX: number

      Starting X coordinate for the table

    • startY: number

      Starting Y coordinate for the table

    • Optional options: TableOptionsDeepPartial<DrawTableOptions>

      Drawing options for the table, including:

    Returns Promise<TableDimensions>

    • The dimensions of the drawn table

Generated using TypeDoc