TextFormattingOptions

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

NameTypeAccessDescription
subsequentLinesIndentdoubleReadReturns the indent for subsequent lines (all lines except the first).
firstLineIndentdoubleReadReturns the first line indent.
lineSpacingLineSpacingModeReadReturns the line spacing mode.
wrapModeWordWrapModeReadReturns the word wrap mode.

méthodes

SignatureDescription
TextFormattingOptions()Creates TextFormattingOptions with default settings.
TextFormattingOptions(wrapMode: WordWrapMode)Creates TextFormattingOptions with the specified wrap mode.
getSubsequentLinesIndent()doubleReturns the indent for subsequent lines (all lines except the first).
setSubsequentLinesIndent(indent: double)Sets the indent for subsequent lines.
getFirstLineIndent()doubleReturns the first line indent.
setFirstLineIndent(indent: double)Sets the first line indent.
getLineSpacing()LineSpacingModeReturns the line spacing mode.
setLineSpacing(mode: LineSpacingMode)Sets the line spacing mode.
getWrapMode()WordWrapModeReturns the word wrap mode.
setWrapMode(mode: WordWrapMode)Sets the word wrap mode.

Voir aussi

  • Aspose.PDF pour Java — API d’entreprise
 Français