Skip to content

modern-pdf-lib


modern-pdf-lib / setLeadingOp

Function: setLeadingOp()

setLeadingOp(leading): string

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

Set the text leading — the vertical distance between baselines of consecutive lines (TL).

Parameters

leading

number

Leading value in user-space units.

Returns

string

Released under the MIT License.