Aspose::Pub::TextStyle class
Contents
[
Hide
]TextStyle class
Describes PUB text style.
class TextStyle : public Aspose::Pub::BaseStyle
Methods
| Method | Description |
|---|---|
| CalculateTextSize() | Calculates text size in points. |
| get_ColorIndex() const | Gets index of color in Document.Colors array. |
| get_FontIndex() const | Gets index of font name in Document.FontNames array. |
| get_IsAllCapsMode() const | Is all caps mode enabled. |
| get_IsBold() const | Is text bold. |
| get_IsEmboss() const | Is text embossed. |
| get_IsEngrave() const | Is text engraved. |
| get_IsItalic() const | Is text italic. |
| get_IsOutline() const | Is text outlined. |
| get_IsShadow() const | Is text shadowed. |
| get_IsSmallCapsMode() const | Is small caps mode enabled. |
| get_Locale() const | Locale identifier. |
| get_RawTextSize() const | Size of text in PUB metrics(in EMUs) |
| get_ScaleValue() const | Value of scale. |
| get_SuperscriptType() const | Type of superscript. |
| get_UnderlineType() const | Underline type for text. |
| SetColorIndex(int32_t) | Sets index of color in Document.Colors array. |
| SetFontIndex(int32_t) | Sets index of font name in Document.FontNames array. |
| SetIsAllCapsMode(bool) | Enables/disables all caps mode for text. |
| SetIsBold(bool) | Sets is text bold. |
| SetIsEmboss(bool) | Sets is text embossed. |
| SetIsEngrave(bool) | Sets is text engraved. |
| SetIsItalic(bool) | Sets is text italic. |
| SetIsOutline(bool) | Sets is text outlined. |
| SetIsShadow(bool) | Sets is text shadowed. |
| SetIsSmallCapsMode(bool) | Enables/disables small caps mode for text. |
| SetLocale(int32_t) | Sets locale identifier. |
| SetRawTextSize(int32_t) | Sets size of text in PUB metrics(in EMUs) |
| SetScaleValue(double) | Sets value of scale. |
| SetSuperscriptType(Aspose::Pub::SuperscriptType) | Sets type of superscript. |
| SetUnderlineType(Aspose::Pub::UnderlineType) | Sets underline type for text. |
| TextStyle() | Constructor. |
See Also
- Class BaseStyle
- Namespace Aspose::Pub
- Library Aspose.PUB for C++