Aspose::Pdf::Facades::FormattedText класс

FormattedText class

Класс, представляющий отформатированный текст. Содержит информацию о тексте, его цвете, размере и стиле.

class FormattedText : public System::Object

Методы

МетодОписание
AddNewLineText(const System::String&)Добавляет новую строку к объекту FormattedText и устанавливает newLineText как текст следующей строки.
AddNewLineText(const System::String&, float)Добавляет новую строку к объекту FormattedText и устанавливает newLineText как текст следующей строки.
FormattedText()Инициализирует FormattedText.
FormattedText(const System::String&)Инициализирует FormattedText.
FormattedText(const System::String&, const System::SharedPtr<FontColor>&, FontStyle, EncodingType, bool, float)Инициализирует FormattedText.
FormattedText(const System::String&, const System::SharedPtr<FontColor>&, FontStyle, EncodingType, bool, float, float)Инициализировать FormattedText.
FormattedText(const System::String&, System::Drawing::Color, FontStyle, EncodingType, bool, float)Инициализирует FormattedText.
FormattedText(const System::String&, System::Drawing::Color, FontStyle, EncodingType, bool, float, float)Инициализирует FormattedText.
FormattedText(const System::String&, const System::SharedPtr<FontColor>&, const System::SharedPtr<FontColor>&, FontStyle, EncodingType, bool, float)Инициализирует FormattedText.
FormattedText(const System::String&, const System::SharedPtr<FontColor>&, const System::SharedPtr<FontColor>&, FontStyle, EncodingType, bool, float, float)Инициализирует FormattedText.
FormattedText(const System::String&, System::Drawing::Color, System::Drawing::Color, FontStyle, EncodingType, bool, float)Инициализирует FormattedText.
FormattedText(const System::String&, System::Drawing::Color, System::Drawing::Color, FontStyle, EncodingType, bool, float, float)Инициализирует FormattedText.
FormattedText(const System::String&, System::Drawing::Color, System::Drawing::Color, const System::String&, EncodingType, bool, float)Инициализирует FormattedText.
FormattedText(const System::String&, System::Drawing::Color, System::Drawing::Color)Инициализирует FormattedText.
FormattedText(const System::String&, System::Drawing::Color, const System::String&, EncodingType, bool, float)Инициализирует FormattedText.
get_TextHeight() constПолучает высоту текста.
get_TextWidth()Получает ширину текста.
IsCjk()Проверяет, является ли текст CJK (китайским, японским или корейским).
SetCjkFontStyle()Изменяет стиль шрифта FormattedText для шрифтов CJK (китайского, японского или корейского).

См. также