Skip to content
Lamina PDF
0.9.0
GitHub
Open the web app

TextStyle

type TextStyle = Omit<SetTextStyleJs, "page" | "runs">;

Defined in: packages/sdk/src/types.ts:1197

The fields of a setTextStyle op besides the page and the runs, which DocumentContent.setTextStyle takes: font, size (points), color, bold, italic, underline, baseline, align and lineSpacing. Each is optional and changes only what it names.

0.7.0