Class FontSettingCollection

Class FontSettingCollection

Namespace: Aspose.Cells.Drawing.Texts
Assembly: Aspose.Cells.dll (25.2.0)

Represents the list of Aspose.Cells.FontSetting.

public class FontSettingCollection : CollectionBase<fontsetting>, IList<fontsetting>, ICollection<fontsetting>, IEnumerable<fontsetting>, ICollection, IEnumerable

Inheritance

objectCollectionBase<fontsetting>FontSettingCollection

Implements

IList<fontsetting>, ICollection<fontsetting>, IEnumerable<fontsetting>, ICollection, IEnumerable

Inherited Members

CollectionBase<fontsetting>.BinarySearch(FontSetting), CollectionBase<fontsetting>.BinarySearch(FontSetting, IComparer<fontsetting>), CollectionBase<fontsetting>.BinarySearch(int, int, FontSetting, IComparer<fontsetting>), CollectionBase<fontsetting>.Contains(FontSetting), CollectionBase<fontsetting>.CopyTo(FontSetting[]), CollectionBase<fontsetting>.CopyTo(FontSetting[], int), CollectionBase<fontsetting>.CopyTo(int, FontSetting[], int, int), CollectionBase<fontsetting>.Exists(Predicate<fontsetting>), CollectionBase<fontsetting>.Find(Predicate<fontsetting>), CollectionBase<fontsetting>.FindAll(Predicate<fontsetting>), CollectionBase<fontsetting>.FindIndex(Predicate<fontsetting>), CollectionBase<fontsetting>.FindIndex(int, Predicate<fontsetting>), CollectionBase<fontsetting>.FindIndex(int, int, Predicate<fontsetting>), CollectionBase<fontsetting>.FindLast(Predicate<fontsetting>), CollectionBase<fontsetting>.FindLastIndex(Predicate<fontsetting>), CollectionBase<fontsetting>.FindLastIndex(int, Predicate<fontsetting>), CollectionBase<fontsetting>.FindLastIndex(int, int, Predicate<fontsetting>), CollectionBase<fontsetting>.IndexOf(FontSetting), CollectionBase<fontsetting>.IndexOf(FontSetting, int), CollectionBase<fontsetting>.IndexOf(FontSetting, int, int), CollectionBase<fontsetting>.LastIndexOf(FontSetting), CollectionBase<fontsetting>.LastIndexOf(FontSetting, int), CollectionBase<fontsetting>.LastIndexOf(FontSetting, int, int), CollectionBase<fontsetting>.GetEnumerator(), CollectionBase<fontsetting>.Clear(), CollectionBase<fontsetting>.RemoveAt(int), CollectionBase<fontsetting>.OnClearComplete(), CollectionBase<fontsetting>.OnClear(), CollectionBase<fontsetting>.Capacity, CollectionBase<fontsetting>.Count, CollectionBase<fontsetting>.InnerList, CollectionBase<fontsetting>.this[int], object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Properties

HtmlString

Gets and sets the html string which contains data and some formats in this shape.

public string HtmlString { get; set; }

Property Value

string

Text

Gets and sets the text of the shape.

public string Text { get; set; }

Property Value

string

TextAlignment

Represents the alignment setting of the text body.

public ShapeTextAlignment TextAlignment { get; }

Property Value

ShapeTextAlignment

TextParagraphs

Gets all paragraphs.

public TextParagraphCollection TextParagraphs { get; }

Property Value

TextParagraphCollection

this[int]

Gets the Aspose.Cells.FontSetting by the index.

public FontSetting this[int index] { get; }

Property Value

FontSetting

Methods

AppendText(string)

Appends the text.

public void AppendText(string text)

Parameters

text string

The text.

Clear()

Clear all setting.

public void Clear()

DeleteText(int, int)

Delete some characters.

public void DeleteText(int index, int count)

Parameters

index int

The start index.

count int

The count of characters.

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

Format(int, int, Font, StyleFlag)

Format the text with font setting.

public void Format(int startIndex, int length, Font font, StyleFlag flag)

Parameters

startIndex int

The start index.

length int

The length.

font Font

The font.

flag StyleFlag

The flags of the font.

GetHashCode()

public override int GetHashCode()

Returns

int

GetParagraphEnumerator()

Gets the enumerator of the paragraphs.

public IEnumerator GetParagraphEnumerator()

Returns

IEnumerator

InsertText(int, string)

Insert index at the position.

public void InsertText(int index, string text)

Parameters

index int

The start index.

text string

The text.

Replace(int, int, string)

Replace the text.

public void Replace(int index, int count, string text)

Parameters

index int

The start index.

count int

The count of characters.

text string

The text.

Replace(string, string)

Replace the text.

public void Replace(string oldValue, string newValue)

Parameters

oldValue string

The old text.

newValue string

The new text.

SetWordArtStyle(PresetWordArtStyle)

Sets the preset WordArt style.

public void SetWordArtStyle(PresetWordArtStyle style)

Parameters

style PresetWordArtStyle

The preset WordArt style. </fontsetting></fontsetting></fontsetting></fontsetting></fontsetting></fontsetting></fontsetting></fontsetting></fontsetting></fontsetting></fontsetting></fontsetting></fontsetting></fontsetting></fontsetting></fontsetting></fontsetting></fontsetting></fontsetting></fontsetting></fontsetting></fontsetting></fontsetting></fontsetting></fontsetting></fontsetting></fontsetting></fontsetting></fontsetting></fontsetting></fontsetting></fontsetting></fontsetting></fontsetting></fontsetting></fontsetting></fontsetting></fontsetting></fontsetting></fontsetting></fontsetting></fontsetting></fontsetting></fontsetting></fontsetting></fontsetting></fontsetting></fontsetting>