Description
Gets the chapter title (the content) in a table of contents item.
Applies to
Syntax
string GetChapterTitle()
Return value
String.
Usage
Call the function to get the chapter title (content) in a table of contents item. Each table of contents item (PDFTableOfContentsItem) is a chapter. And the Content property of the chapter is the chapter title.
Examples
This example sets the chapter title in a table of contents item and then gets the title.
String lpdf_chapter_title lpdf_toc = create PDFtableofcontents lpdf_title = create PDFtext lpdf_chapter = create PDFtext ... lpdf_chapter.content = "chapter1" ... lpdf_tocitem = lpdf_toc.additem( lpdf_chapter) lpdf_chapter_title = lpdf_tocitem.GetChapterTitle()
See also