TableOfContentsAddEntry Method |
Adds an entry that points to a place in the document.
Namespace: ExpertPdf.PdfCreatorAssembly: epdfcreator (in epdfcreator.dll) Version: 22.0.0
Syntaxpublic TableOfContentsEntry AddEntry(
string text,
int level,
PdfPage page,
float y
)
Public Function AddEntry (
text As String,
level As Integer,
page As PdfPage,
y As Single
) As TableOfContentsEntry
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
TableOfContentsEntryThe new entry.
See Also