Class ExcelParagraphCollection
A collection of Paragraph objects
Inherited Members
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.ToString()
    
  Namespace: OfficeOpenXml.Style
Assembly: EPPlus.dll
Syntax
public class ExcelParagraphCollection : XmlHelper, IEnumerable<ExcelParagraph>, IEnumerable
  Properties
Count
Number of items in the collection
Declaration
public int Count { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
Item[Int32]
The indexer for this collection
Declaration
public ExcelParagraph this[int Index] { get; }
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | Index | The index  | 
      
Property Value
| Type | Description | 
|---|---|
| ExcelParagraph | 
Text
The full text
Declaration
public string Text { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
Methods
Add(String, Boolean)
Add a rich text string
Declaration
public ExcelParagraph Add(string Text, bool NewParagraph = false)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | Text | The text to add  | 
      
| System.Boolean | NewParagraph | This will be a new line. Is ignored for first item added to the collection  | 
      
Returns
| Type | Description | 
|---|---|
| ExcelParagraph | 
Clear()
Removes all items in the collection
Declaration
public void Clear()
  Remove(ExcelRichText)
Remove the specified item
Declaration
public void Remove(ExcelRichText Item)
  Parameters
| Type | Name | Description | 
|---|---|---|
| ExcelRichText | Item | The item  | 
      
RemoveAt(Int32)
Remove the item at the specified index
Declaration
public void RemoveAt(int Index)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | Index | The index  | 
      
Explicit Interface Implementations
IEnumerable<ExcelParagraph>.GetEnumerator()
Declaration
IEnumerator<ExcelParagraph> IEnumerable<ExcelParagraph>.GetEnumerator()
  Returns
| Type | Description | 
|---|---|
| System.Collections.Generic.IEnumerator<ExcelParagraph> | 
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
  Returns
| Type | Description | 
|---|---|
| System.Collections.IEnumerator | 
Implements
      System.Collections.Generic.IEnumerable<T>
  
  
      System.Collections.IEnumerable