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

NameTypeAccessDescription
pages: Page[]ReadPages drawn onto, anchor first; length > 1 only in auto mode.
drawn: numberReadEntries fully drawn, across all pages.
endY: numberReady 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[]ReadEntries that did not fit — a slice of the caller’s array, so the same objects can be passed straight back.
struct: StructElementReadThe /TOC element, when tagged and at least one row was drawn.