TextState

Vue d’ensemble

TextState est une classe du FOSS Aspose.PDF pour C++.

La classe TextState fournit des accesseurs et mutateurs pour la police, la taille de police, les couleurs de premier plan/arrière‑plan/contour, et les décorations de texte telles que le soulignement, le barré, le sous‑script et le super‑script.

Cette classe fournit 33 méthodes pour travailler avec des objets TextState dans les programmes C++. Les méthodes disponibles incluent : BackgroundColor, CharacterSpacing, Font, FontSize, ForegroundColor, HorizontalAlignment, HorizontalScaling, Invisible, LineSpacing, MeasureString, StrikeOut, StrokingColor et 6 méthodes supplémentaires. Tous les membres publics sont accessibles à toute application C++ après l’installation du paquet Aspose.PDF FOSS pour C++.

Méthodes

SignatureDescription
TextState()Appelle TextState sur cette instance TextState.
~TextState()Appelle ~TextState sur cette instance TextState.
Font() → Aspose::Pdf::Text::FontAppelle Font sur cette instance TextState.
Font(value: Aspose::Pdf::Text::Font)Appelle Font(value) sur cette instance TextState.
FontSize() → floatAppelle FontSize sur cette instance TextState.
FontSize(value: float)Appelle FontSize(value) sur cette instance TextState.
ForegroundColor() → Aspose::Pdf::ColorAppelle ForegroundColor sur cette instance TextState.
ForegroundColor(value: Aspose::Pdf::Color)Appelle ForegroundColor(value) sur cette instance TextState.
BackgroundColor() → Aspose::Pdf::ColorAppelle BackgroundColor sur cette instance TextState.
BackgroundColor(value: Aspose::Pdf::Color)Appelle BackgroundColor(value) sur cette instance TextState.
StrokingColor() → Aspose::Pdf::ColorAppelle StrokingColor sur cette instance TextState.
StrokingColor(value: Aspose::Pdf::Color)Appelle StrokingColor(value) sur cette instance TextState.
Underline() → boolAppelle Underline sur cette instance TextState.
Underline(value: bool)Appelle Underline(value) sur cette instance TextState.
StrikeOut() → boolAppelle StrikeOut sur cette instance TextState.
StrikeOut(value: bool)Appelle StrikeOut(value) sur cette instance TextState.
Subscript() → boolAppelle Subscript sur cette instance TextState.
Subscript(value: bool)Appelle Subscript(value) sur cette instance TextState.
Superscript() → boolAppelle Superscript sur cette instance TextState.
Superscript(value: bool)Appelle Superscript(value) sur cette instance TextState.
Invisible() → boolAppelle Invisible sur cette instance TextState.
Invisible(value: bool)Appelle Invisible(value) sur cette instance TextState.
CharacterSpacing() → floatAppelle CharacterSpacing sur cette instance TextState.
CharacterSpacing(value: float)Appelle CharacterSpacing(value) sur cette instance TextState.
WordSpacing() → floatAppelle WordSpacing sur cette instance TextState.
WordSpacing(value: float)Appelle WordSpacing(value) sur cette instance TextState.
LineSpacing() → floatAppelle LineSpacing sur cette instance TextState.
LineSpacing(value: float)Appelle LineSpacing(value) sur cette instance TextState.
HorizontalScaling() → floatAppelle HorizontalScaling sur cette instance TextState.
HorizontalScaling(value: float)Appelle HorizontalScaling(value) sur cette instance TextState.
HorizontalAlignment() → Aspose::Pdf::HorizontalAlignmentAppelle HorizontalAlignment sur cette instance TextState.
HorizontalAlignment(value: Aspose::Pdf::HorizontalAlignment)Appelle HorizontalAlignment(value) sur cette instance TextState.
MeasureString(str: std::string) → doubleAppelle MeasureString(str) sur cette instance TextState.

Voir aussi

 Français