FormattedText
Contents
[
Hide
]FormattedText class
Class which represents formatted text. Contains information about text and its color, size, style.
The FormattedText type exposes the following members:
Constructors
Name | Description |
---|---|
FormattedText() | Initializes FormattedText. |
FormattedText(text) | Initializes a new instance of the FormattedText class |
FormattedText(text, font_color, font_style, encoding_type, embedded, text_size) | Initializes a new instance of the FormattedText class |
FormattedText(text, font_color, text_font, text_encoding, embedded, text_size, line_spacing) | Initializes a new instance of the FormattedText class |
FormattedText(text, color, text_font, text_encoding, embedded, text_size) | Initializes a new instance of the FormattedText class |
FormattedText(text, text_color, text_font, text_encoding, embedded, text_size, line_spacing) | Initializes a new instance of the FormattedText class |
FormattedText(text, text_color, back_color, text_font, text_encoding, embedded, text_size) | Initializes a new instance of the FormattedText class |
FormattedText(text, text_color, back_color, text_font, text_encoding, embedded, text_size, line_spacing) | Initializes a new instance of the FormattedText class |
FormattedText(text, text_color, back_color, text_font, encoding, embedded, text_size) | Initializes a new instance of the FormattedText class |
FormattedText(text, text_color, back_color, text_font, text_encoding, embedded, text_size, line_spacing) | Initializes a new instance of the FormattedText class |
FormattedText(text, text_color, back_color, font_name, text_encoding, embedded, font_size) | Initializes a new instance of the FormattedText class |
FormattedText(text, text_color, back_color) | Initializes a new instance of the FormattedText class |
FormattedText(text, text_color, font_name, text_encoding, embedded, font_size) | Initializes a new instance of the FormattedText class |
Properties
Name | Description |
---|---|
text_height | Gets height of text. |
text_width | Gets width of text. |
Methods
Name | Description |
---|---|
add_new_line_text(new_line_text) | Adds a new line to the FormattedText object and sets the newLineText to the next line’s text. |
add_new_line_text(new_line_text, line_spacing) | Adds a new line to the FormattedText object and sets the newLineText to the next line’s text. |
is_cjk() | Checks if text is CJK (Chinese, Japanese, or Korean). |
set_cjk_font_style() | Changes FormattedText font style for CJK (Chinese, Japanese, or Korean) font. |
See Also
- namespace aspose.pdf.facades
- assembly Aspose.PDF