sempdf
sempdf v1.9.1Interfaces

Interface: PlacedTextBlockResult

sempdf v1.9.1


sempdf / PlacedTextBlockResult

Defined in: src/types.ts:1150

Result of PdfPage.placeTextBlock: the drawn block metrics plus the next y to continue at.

Extends

Properties

PropertyTypeDescriptionInherited fromDefined in
endYnumberThe y below the drawn block — where the next element can start (accounts for the page origin).-src/types.ts:1152
heightnumberTotal height in PDF points (line count × line height).BlockTextMetrics.heightsrc/types.ts:1138
lineCountnumberNumber of lines after wrapping.BlockTextMetrics.lineCountsrc/types.ts:1140
widthnumberWidth of the longest rendered line in PDF points.BlockTextMetrics.widthsrc/types.ts:1136

On this page