Class FontSettingCollection

FontSettingCollection class

Represents the list of FontSetting.

public class FontSettingCollection : CollectionBase<FontSetting>

Properties

NameDescription
Capacity { get; set; }
Count { get; }
HtmlString { get; set; }Gets and sets the html string which contains data and some formats in this shape.
Item { get; }Gets the FontSetting by the index.
Item { get; set; }
Text { get; set; }Gets and sets the text of the shape.
TextAlignment { get; }Represents the alignment setting of the text body.
TextParagraphs { get; }Gets all paragraphs.

Methods

NameDescription
AppendText(string)Appends the text.
BinarySearch(FontSetting)
BinarySearch(FontSetting, IComparer<FontSetting>)
BinarySearch(int, int, FontSetting, IComparer<FontSetting>)
Clear()Clear all setting. (2 methods)
Contains(FontSetting)
CopyTo(FontSetting[])
CopyTo(FontSetting[], int)
CopyTo(int, FontSetting[], int, int)
DeleteText(int, int)Delete some characters.
override Equals(object)
Exists(Predicate<FontSetting>)
Find(Predicate<FontSetting>)
FindAll(Predicate<FontSetting>)
FindIndex(Predicate<FontSetting>)
FindIndex(int, Predicate<FontSetting>)
FindIndex(int, int, Predicate<FontSetting>)
FindLast(Predicate<FontSetting>)
FindLastIndex(Predicate<FontSetting>)
FindLastIndex(int, Predicate<FontSetting>)
FindLastIndex(int, int, Predicate<FontSetting>)
Format(int, int, Font, StyleFlag)Format the text with font setting.
GetEnumerator()
override GetHashCode()
GetParagraphEnumerator()Gets the enumerator of the paragraphs.
IndexOf(FontSetting)
IndexOf(FontSetting, int)
IndexOf(FontSetting, int, int)
InsertText(int, string)Insert index at the position.
LastIndexOf(FontSetting)
LastIndexOf(FontSetting, int)
LastIndexOf(FontSetting, int, int)
RemoveAt(int)
Replace(string, string)Replace the text.
Replace(int, int, string)Replace the text.
SetWordArtStyle(PresetWordArtStyle)Sets the preset WordArt style.

See Also