Class ExcelParagraphCollection
- Namespace
- OfficeOpenXml.Style
- Assembly
- EPPlus.dll
A collection of Paragraph objects
public class ExcelParagraphCollection : XmlHelper, IEnumerable<ExcelParagraph>, IEnumerable
- Inheritance
-
ExcelParagraphCollection
- Implements
- Inherited Members
Properties
Count
Number of items in the collection
public int Count { get; }
Property Value
this[int]
The indexer for this collection
public ExcelParagraph this[int Index] { get; }
Parameters
Index
intThe index
Property Value
Text
The full text
public string Text { get; set; }
Property Value
Methods
Add(string, bool)
Add a rich text string
public ExcelParagraph Add(string Text, bool NewParagraph = false)
Parameters
Text
stringThe text to add
NewParagraph
boolThis will be a new line. Is ignored for first item added to the collection
Returns
Clear()
Removes all items in the collection
public void Clear()
Remove(ExcelParagraph)
Remove the specified item
public void Remove(ExcelParagraph Item)
Parameters
Item
ExcelParagraphThe item
RemoveAt(int)
Remove the item at the specified index
public void RemoveAt(int Index)
Parameters
Index
intThe index