TocInfo

Overview

TocInfo is a class in Aspose.Pdf FOSS for Java.

Represents Table of Contents information for a PDF document.

Properties

NameTypeAccessDescription
titleTextFragmentReadReturns the title text fragment for the table of contents.
formatArrayLengthintReadReturns the number of levels in the format array.
formatArrayLevelFormat[]ReadReturns the array of level-specific format settings.

Methods

SignatureDescription
TocInfo()Creates a TocInfo with default settings.
getTitle()TextFragmentReturns the title text fragment for the table of contents.
setTitle(title: TextFragment)Sets the title text fragment for the table of contents.
getFormatArrayLength()intReturns the number of levels in the format array.
setFormatArrayLength(formatArrayLength: int)Sets the number of levels in the format array.
getFormatArray()LevelFormat[]Returns the array of level-specific format settings.
setFormatArray(formatArray: LevelFormat[])Sets the format array directly.

See Also