Appearance
zeropdf / PlacedTextBlockResult
Interface: PlacedTextBlockResult
Defined in: src/types.ts:1020
Result of PdfPage.placeTextBlock: the drawn block metrics plus the next y to continue at.
Extends
Properties
| Property | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|
endY | number | The y below the drawn block — where the next element can start (accounts for the page origin). | - | src/types.ts:1022 |
height | number | Total height in PDF points (line count × line height). | BlockTextMetrics.height | src/types.ts:1008 |
lineCount | number | Number of lines after wrapping. | BlockTextMetrics.lineCount | src/types.ts:1010 |
width | number | Width of the longest rendered line in PDF points. | BlockTextMetrics.width | src/types.ts:1006 |