GetStyle

Description

Gets the display style of the table of contents.

Applies to

PDFTableOfContents object

Syntax

PDFTableOfContentsStyle GetStyle()

Return value

PDFTableOfContentsStyle.

The PDFTableOfContentsStyle enumerated datatype has these values:

  • PDFTableOfContentsStyle_Classic! -- The classic style. For example, title.........1.

  • PDFTableOfContentsStyle_Simple! -- The simple style. For example, title 1.

Usage

Call the function to get the display style of the table of contents.

Examples

The following example gets the display style of the table of contents:

lpdf_toc.getstyle( )

See also

AddItem

GetBottomMargin

GetFont

GetItem

GetItemCount

GetLeftMargin

GetPosByPageIndex

GetRightMargin

GetTitle

GetTopMargin

RemoveAll

RemoveItem

SetBottomMargin

SetFont

SetLeftMargin

SetPosByPageIndex

SetRightMargin

SetStyle

SetTitle

SetTopMargin