StructureTextState

StructureTextState

Vue de l’ensemble

StructureTextState C’est une classe dans Aspose.PDF FOSS pour Java.

Représente les paramètres d’état du texte pour un élément de structure dans un PDF étiqueté (ISO 32000-1:2008, §14.8.2.4).

Cette classe fournit 29 méthodes pour travailler avec des objets StructureTextState dans les programmes Java. Les méthodes disponibles comprennent : StructureTextState, getBackgroundColor, getCharacterSpacing, getFont, getFontSize, getFontStyle, getForegroundColor, getHorizontalScaling, getLineSpacing, getMarginInfo, getWordSpacing, isStrikeOut,17 méthodes supplémentaires. Tous les membres publics sont accessibles à toute application Java après l’installation de la Aspose.PDF FOSS pour le package Java. Propriétés : backgroundColor, characterSpacing, font, fontSize, fontStyle, foregroundColor,Et 8 autres.

Propriétés

Nom deTypeAccèsDescription
fontFontLireRetourner le font.
fontSizeFloatLireRetourner la taille de la lettre.
fontStyleintLireRetourner les drapeaux de style font.
foregroundColorColorLireRetourner la couleur avant (texte).
backgroundColorColorLireRetourner la couleur de fond.
characterSpacingFloatLireRetourner le personnage spacing.
wordSpacingFloatLireRetourner le mot spacing.
lineSpacingFloatLireRetourner la ligne spacing.
horizontalScalingFloatLireRetourner le facteur d’escalade horizontal.
strikeOutbooleanLireRemboursez si le strikeout est activé.
underlinebooleanLireRetourner si la sous-line est activée.
subscriptbooleanLireRetourner si le sous-scriptif est activé.
superscriptbooleanLireRetourner si le surcryptage est activé.
marginInfoMarginInfoLireRetourner l’information de marge pour positionnement.

méthodes

SignatureDescription
StructureTextState()Créer un nouveau StructureTextState avec des valeurs par défaut.
getFont()FontRetourner le font.
setFont(font: Font)Mettez le font.
getFontSize()FloatRetourner la taille de la lettre.
setFontSize(fontSize: float)Déterminer la taille du font.
getFontStyle()intRetourner les drapeaux de style font.
setFontStyle(fontStyle: int)Mettez les drapeaux de style font.
getForegroundColor()ColorRetourner la couleur avant (texte).
setForegroundColor(foregroundColor: Color)Il est à l’origine de la couleur (text).
getBackgroundColor()ColorRetourner la couleur de fond.
setBackgroundColor(backgroundColor: Color)Définir la couleur de fond.
getCharacterSpacing()FloatRetourner le personnage spacing.
setCharacterSpacing(characterSpacing: float)Il y a un caractère spacing.
getWordSpacing()FloatRetourner le mot spacing.
setWordSpacing(wordSpacing: float)Mettez le mot spacing.
getLineSpacing()FloatRetourner la ligne spacing.
setLineSpacing(lineSpacing: float)Mettez la ligne de spacing.
getHorizontalScaling()FloatRetourner le facteur d’escalade horizontal.
setHorizontalScaling(horizontalScaling: float)Il s’agit du facteur d’escalade horizontal.
isStrikeOut()booleanRemboursez si le strikeout est activé.
setStrikeOut(strikeOut: boolean)Il a fait la drapeau de Strikeout.
isUnderline()booleanRetourner si la sous-line est activée.
setUnderline(underline: boolean)Il met la drapeau sous-line.
isSubscript()booleanRetourner si le sous-scriptif est activé.
setSubscript(subscript: boolean)Il est à la signature de la drapeau.
isSuperscript()booleanRetourner si le surcryptage est activé.
setSuperscript(superscript: boolean)Il a mis la drapeau sur scripts.
getMarginInfo()MarginInfoRetourner l’information de marge pour positionnement.
setMarginInfo(marginInfo: MarginInfo)Définir l’information de marge pour positionner.

Voir aussi

 Français