Skip to content

zeropdf v1.3.0


zeropdf / TextDefaults

Interface: TextDefaults

Defined in: src/types.ts:433

Document-wide text defaults applied to PdfPage.text and PdfPage.textBlock when the corresponding option is omitted on the call. Per-call options always take precedence.

Properties

PropertyTypeDescriptionDefined in
bold?booleanDefault bold flag.src/types.ts:437
color?ColorInputDefault text color.src/types.ts:443
direction?TextDirectionDefault text direction.src/types.ts:447
font?PdfFontDefault font (built-in name, embedded handle, or registered family name).src/types.ts:435
fontSize?numberDefault font size in PDF points.src/types.ts:441
italic?booleanDefault italic flag.src/types.ts:439
kerning?booleanDefault kerning behavior.src/types.ts:445

Released under the ISC license.