TocInfo
Vue de l’ensemble
‘TocInfo’ est une classe dans Aspose.PDF FOSS pour Java.
Présentation des informations de tableau contenu pour un document PDF.
Cette classe fournit 7 méthodes pour travailler avec des objets TocInfo dans les programmes Java. Les méthodologies disponibles comprennent: TocInFO, getFormatArray , getArryLength ; setFormateArrey; setFormatiArriLongth‘ ; 'setTitle. Tous les membres publics sont accessibles à toute application Java après avoir installé l’Aspose.PDF FOSS pour le package Java . Propriétés : formatArree et `formati ArrayLangth ́.
Propriétés
| Name | Type | Access | Description |
|---|---|---|---|
title | TextFragment | Read | Returns the title text fragment for the table of contents. |
formatArrayLength | int | Read | Returns the number of levels in the format array. |
formatArray | LevelFormat[] | Read | Returns the array of level-specific format settings. |
méthodes
| Signature | Description |
|---|---|
TocInfo() | Creates a TocInfo with default settings. |
getTitle() → TextFragment | Returns the title text fragment for the table of contents. |
setTitle(title: TextFragment) | Sets the title text fragment for the table of contents. |
getFormatArrayLength() → int | Returns 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. |
Voir aussi
- Aspose.PDF pour Java — API d’entreprise