Aspose::Cells::Drawing::Texts::FontSettingCollection class

FontSettingCollection class

Represents the list of FontSetting.

class FontSettingCollection

Methods

MethodDescription
AppendText(const U16String& text)Appends the text.
AppendText(const char16_t* text)Appends the text.
Clear()Clear all setting.
DeleteText(int32_t index, int32_t count)Delete some characters.
FontSettingCollection(FontSettingCollection_Impl* impl)Constructs from an implementation object.
FontSettingCollection(const FontSettingCollection& src)Copy constructor.
Format(int32_t startIndex, int32_t length, const Aspose::Cells::Font& font, const StyleFlag& flag)Format the text with font setting.
Get(int32_t index)Gets the FontSetting by the index.
GetCount()
GetHashCode()
GetHtmlString()Gets and sets the html string which contains data and some formats in this shape.
GetParagraphEnumerator()Gets the enumerator of the paragraphs.
GetText()Gets and sets the text of the shape.
GetTextAlignment()Represents the alignment setting of the text body.
GetTextParagraphs()Gets all paragraphs.
InsertText(int32_t index, const U16String& text)Insert index at the position.
InsertText(int32_t index, const char16_t* text)Insert index at the position.
IsNull() constChecks whether the implementation object is nullptr.
explicit operator bool() constoperator bool()
operator=(const FontSettingCollection& src)operator=
Replace(int32_t index, int32_t count, const U16String& text)Replace the text.
Replace(int32_t index, int32_t count, const char16_t* text)Replace the text.
Replace(const U16String& oldValue, const U16String& newValue)Replace the text.
Replace(const char16_t* oldValue, const char16_t* newValue)Replace the text.
SetHtmlString(const U16String& value)Gets and sets the html string which contains data and some formats in this shape.
SetHtmlString(const char16_t* value)Gets and sets the html string which contains data and some formats in this shape.
SetText(const U16String& value)Gets and sets the text of the shape.
SetText(const char16_t* value)Gets and sets the text of the shape.
SetWordArtStyle(PresetWordArtStyle style)Sets the preset WordArt style.
~FontSettingCollection()Destructor.

Fields

FieldDescription
_implThe implementation object.

See Also