PdfTableOfContents Class

Controls the automatic creation of the table of contents in PDF from HTML heading tags

Definition

Namespace: HiQPdf.Chromium
Assembly: HiQPdf.Chromium (in HiQPdf.Chromium.dll) Version: 16.4.0
C#
public class PdfTableOfContents
Inheritance
Object    PdfTableOfContents

Constructors

PdfTableOfContentsInitializes a new instance of the PdfTableOfContents class

Properties

AddPageNumbers Controls if the table of contents has page numbers for entires. The default value is true
CountTocAndExternalPages Controls if table of contents pages and the external PDF pages inserted before it are counted in page numbers displayed in table of contents. The property does not have any effect for inline table of contents. The default value is true
Inline Controls if the table of contents is rendered inline in the position given by the DIV element with the ID 'html-to-pdf-toc'. If such container is not found, a new one will be automatically created
PageNumbersOffset An offset to be applied to all page numbers in the table of contents. This property can be useful when merging a PDF with a table of contents with other PDF documents. The default value is 0
Style The table of contents CSS style
Title The table of contents title
UseBrowserMode Control if the browser or custom mode is used to create the table of contents non inline table of contents. The default value is false

Methods

Equals
(Inherited from Object)
Finalize
(Inherited from Object)
GetHashCode
(Inherited from Object)
GetType
(Inherited from Object)
MemberwiseClone
(Inherited from Object)
ToString
(Inherited from Object)

See Also