Click or drag to resize

TableOfContentsAddEntry Method

Adds an entry that points to a place in the document.

Namespace: ExpertPdf.PdfCreator
Assembly: epdfcreator (in epdfcreator.dll) Version: 22.0.0
Syntax
public TableOfContentsEntry AddEntry(
	string text,
	int level,
	PdfPage page,
	float y
)

Parameters

text  String
The text of the entry.
level  Int32
The level of the entry, 1 for the top level; each level is indented by LevelIndent.
page  PdfPage
The page the entry points to.
y  Single
The position on the page the entry points to, in points from the top of the page's drawing area.

Return Value

TableOfContentsEntry
The new entry.
See Also