Aspose::Pub::TextPartDisplayParams class

TextPartDisplayParams class

Designed to hold text which sholud be displayed for end users. Cases like document 383.pub open a situation, when original text from Publisher document can’t be displayed to end users without modifications. At current moment it’s enough to simply hold modified version of original text, which differs from original only in unicode values, but next times could be cases when modified version will differ from original not only in unicodes but also in text length and something like this. If that cases come, this class should be modified to accomodate new requirements for displayed text.

class TextPartDisplayParams : public System::Object

Methods

MethodDescription
get_Font() constFont of the text part.
get_FontSize() constFont size of the text part.
get_Text() constText.
get_TextStyle() constText style.
SetFontData(System::SharedPtr<Aspose::Pdf::Text::Font>, float)
TextPartDisplayParams(System::String, System::SharedPtr<Aspose::Pub::TextStyle>)Constructor.
UpdateText(System::String)Updates text.
UpdateTextStyle(System::SharedPtr<Aspose::Pub::TextStyle>)

See Also