TextFormattingOptions
Vue de l’ensemble
‘TextFormattingOptions’ est une classe dans Aspose.PDF FOSS pour Java.
Les options de formatage dans les paragraphes.
Cette classe fournit 10 méthodes pour travailler avec TextFormattingOptions objets dans les programmes Java. Les méthodologies disponibles comprennent: TextFormatingOption, getFirstLineIndent , ‘getLinSpacing,, getsSubsequentLinesInden., GetWrapMode', setFerstTinIndén’, setLinsSpace; sets SubsequentsLinerIndens;SetsWraps. Tous les membres publics sont accessibles à toute application Java après l'installation de l’Aspose.PDF FOSS pour le package Java . Propriétés : firstPlanetLinenetlineSpazing‘, ‘subseqüenceLining`
Propriétés
| Name | Type | Access | Description |
|---|---|---|---|
subsequentLinesIndent | double | Read | Returns the indent for subsequent lines (all lines except the first). |
firstLineIndent | double | Read | Returns the first line indent. |
lineSpacing | LineSpacingMode | Read | Returns the line spacing mode. |
wrapMode | WordWrapMode | Read | Returns the word wrap mode. |
méthodes
| Signature | Description |
|---|---|
TextFormattingOptions() | Creates TextFormattingOptions with default settings. |
TextFormattingOptions(wrapMode: WordWrapMode) | Creates TextFormattingOptions with the specified wrap mode. |
getSubsequentLinesIndent() → double | Returns the indent for subsequent lines (all lines except the first). |
setSubsequentLinesIndent(indent: double) | Sets the indent for subsequent lines. |
getFirstLineIndent() → double | Returns the first line indent. |
setFirstLineIndent(indent: double) | Sets the first line indent. |
getLineSpacing() → LineSpacingMode | Returns the line spacing mode. |
setLineSpacing(mode: LineSpacingMode) | Sets the line spacing mode. |
getWrapMode() → WordWrapMode | Returns the word wrap mode. |
setWrapMode(mode: WordWrapMode) | Sets the word wrap mode. |
Voir aussi
- Aspose.PDF pour Java — API d’entreprise