Description
Sets the title in the table of contents.
Applies to
Syntax
SetTitle(PDFText title)
Return value
None.
Usage
Call the function to set the title for the table of contents.
Examples
This example sets the title in the table of contents.
lpdf_toc = create PDFtableofcontents lpdf_title = create PDFtext lpdf_title.content = "Table of Content" lpdf_title.font.fontsize = 36 lpdf_title.font.bold = true lpdf_title.y = 200 lpdf_title.x = (lpdf_page.getwidth( )-lpdf_title.width)/2 lpdf_toc.settitle( lpdf_title)
See also