Skip to content

modern-pdf-lib


modern-pdf-lib / showTextWithSpacing

Function: showTextWithSpacing()

showTextWithSpacing(wordSpacing, charSpacing, text): string

Defined in: src/core/operators/text.ts:271

Show a text string, set word and character spacing, and move to the next line (").

Parameters

wordSpacing

number

Word spacing.

charSpacing

number

Character spacing.

text

string

Text to show.

Returns

string

Released under the MIT License.