Aspose::Pdf::Facades::FormattedText-klass
Innehåll
[
Dölj
]FormattedText class
Klass som representerar formaterad text. Innehåller information om texten samt dess färg, storlek och stil.
class FormattedText : public System::Object
Metoder
| Metod | Beskrivning |
|---|---|
| AddNewLineText(const System::String&) | Lägger till en ny rad i FormattedText-objektet och sätter newLineText till nästa radens text. |
| AddNewLineText(const System::String&, float) | Lägger till en ny rad i FormattedText-objektet och sätter newLineText till nästa radens text. |
| FormattedText() | Initierar FormattedText. |
| FormattedText(const System::String&) | Initierar FormattedText. |
| FormattedText(const System::String&, const System::SharedPtr<FontColor>&, FontStyle, EncodingType, bool, float) | Initierar FormattedText. |
| FormattedText(const System::String&, const System::SharedPtr<FontColor>&, FontStyle, EncodingType, bool, float, float) | Initiera FormattedText. |
| FormattedText(const System::String&, System::Drawing::Color, FontStyle, EncodingType, bool, float) | Initierar FormattedText. |
| FormattedText(const System::String&, System::Drawing::Color, FontStyle, EncodingType, bool, float, float) | Initierar FormattedText. |
| FormattedText(const System::String&, const System::SharedPtr<FontColor>&, const System::SharedPtr<FontColor>&, FontStyle, EncodingType, bool, float) | Initierar FormattedText. |
| FormattedText(const System::String&, const System::SharedPtr<FontColor>&, const System::SharedPtr<FontColor>&, FontStyle, EncodingType, bool, float, float) | Initierar FormattedText. |
| FormattedText(const System::String&, System::Drawing::Color, System::Drawing::Color, FontStyle, EncodingType, bool, float) | Initierar FormattedText. |
| FormattedText(const System::String&, System::Drawing::Color, System::Drawing::Color, FontStyle, EncodingType, bool, float, float) | Initierar FormattedText. |
| FormattedText(const System::String&, System::Drawing::Color, System::Drawing::Color, const System::String&, EncodingType, bool, float) | Initierar FormattedText. |
| FormattedText(const System::String&, System::Drawing::Color, System::Drawing::Color) | Initierar FormattedText. |
| FormattedText(const System::String&, System::Drawing::Color, const System::String&, EncodingType, bool, float) | Initierar FormattedText. |
| get_TextHeight() const | Hämtar höjden på texten. |
| get_TextWidth() | Hämtar bredden på texten. |
| IsCjk() | Kontrollerar om texten är CJK (kinesisk, japansk eller koreansk). |
| SetCjkFontStyle() | Ändrar teckensnittsstilen för FormattedText för CJK (kinesisk, japansk eller koreansk) teckensnitt. |
Se även
- Class Object
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++