Skip to main content

Interface: TextDefaults

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

PropertyTypeDescription
bold?booleanDefault bold flag.
color?ColorInputDefault text color.
direction?TextDirectionDefault text direction.
font?PdfFontDefault font (built-in name, embedded handle, or registered family name).
fontSize?numberDefault font size in PDF points.
italic?booleanDefault italic flag.
kerning?booleanDefault kerning behavior.