Io - PDF
API reference — the PDF doors of @huukhanhnguyen/io: readers, writers and their option / result types, all on this page.
import { createPdfWriter, pdfString } from '@huukhanhnguyen/io'Source: ./pdf. See all formats or the Guide.
API reference
Signatures are generated from the live package .d.ts - not hand-written.
createPdfWriter
function
createPdfWriter(): { addObject(id: number, body: string): void; build(rootId: number): Uint8Array; }pdfString
function
pdfString(text: string): stringsheetsToPdf
function
sheetsToPdf(sheets: SheetSetEntry[], options?: PdfExportOptions): Uint8Array