Click or drag to resize
Pdf Library for .NET

PdfTableOfContentsLevelStyle Class

The appearance of the entries of one level of a table of contents generated by GeneratePages.
Inheritance Hierarchy
SystemObject
  SelectPdf.UniversalPdfTableOfContentsLevelStyle

Namespace: SelectPdf.Universal
Assembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.5
Syntax
public class PdfTableOfContentsLevelStyle

The PdfTableOfContentsLevelStyle type exposes the following members.

Constructors
Properties
 NameDescription
Public propertyColor Gets or sets the color of the entries. The default value is Empty, which is black.
Public propertyFont Gets or sets the font of the entries. The default value is null: Helvetica Bold 12 for level 1, Helvetica 11 for level 2 and Helvetica 10 below.
Public propertyIndent Gets or sets the distance, in points, of the entries from the left edge of the page's content area. The default value is -1: 15 points more for each level below the first.
Public propertyLineSpacing Gets or sets the height of a line of an entry that wraps, as a multiple of the font's height. The default value is 1.2.
Public propertySpacingAfter Gets or sets the space, in points, below each entry. The default value is 0.
Public propertySpacingBefore Gets or sets the space, in points, above each entry. The default value is -1: 6 points for level 1 and 2 points below.
Top
See Also