AddTOCResult
Overview
AddTOCResult is a interface in Aspose.PDF FOSS for TypeScript.
The outcome of {@link drawTOC} / page.AddTOC.
Properties: drawn, endY, pages, remainder, struct.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
pages | : Page[] | Read | Pages drawn onto, anchor first; length > 1 only in auto mode. |
drawn | : number | Read | Entries fully drawn, across all pages. |
endY | : number | Read | y of the bottom of the last drawn row on the last page, excluding any trailing rowGap; the box top when nothing was drawn. |
remainder | : TOCEntry[] | Read | Entries that did not fit — a slice of the caller’s array, so the same objects can be passed straight back. |
struct | : StructElement | Read | The /TOC element, when tagged and at least one row was drawn. |