Class ExcelRichTextCollection¶
Namespace: OfficeOpenXml.Style
Assembly: EPPlus.dll
Collection of Richtext objects
Inheritance¶
object ← ExcelRichTextCollection
Implements¶
IEnumerable
IEnumerable<ExcelRichText>
Inherited Members¶
object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()
Properties¶
Count¶
Items in the list
Property Value¶
HtmlText¶
Returns the rich text as a html string.
Property Value¶
Text¶
The text
Property Value¶
this[int]¶
Collection containing the richtext objects
Property Value¶
Methods¶
Add(string, bool)¶
Add a rich text string
Parameters¶
Text string
The text to add
NewParagraph bool
Adds a new paragraph before text. This will add a new line break.
Returns¶
Clear()¶
Clear the collection
Insert(int, string)¶
Insert a rich text string at the specified index.
Parameters¶
index int
The zero-based index at which rich text should be inserted.
text string
The text to insert.
Returns¶
Remove(ExcelRichText)¶
Removes an item
Parameters¶
Item ExcelRichText
RemoveAt(int)¶
Removes an item at the specific index
Parameters¶
Index int