Show / Hide Table of Contents

Class ExcelParagraphCollection

A collection of Paragraph objects

Inheritance
object
XmlHelper
ExcelParagraphCollection
Implements
IEnumerable<ExcelParagraph>
IEnumerable
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
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
int

this[int]

The indexer for this collection

Declaration
public ExcelParagraph this[int Index] { get; }
Parameters
Type Name Description
int Index

The index

Property Value
Type Description
ExcelParagraph

Text

The full text

Declaration
public string Text { get; set; }
Property Value
Type Description
string

Methods

Add(string, bool)

Add a rich text string

Declaration
public ExcelParagraph Add(string Text, bool NewParagraph = false)
Parameters
Type Name Description
string Text

The text to add

bool 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(ExcelParagraph)

Remove the specified item

Declaration
public void Remove(ExcelParagraph Item)
Parameters
Type Name Description
ExcelParagraph Item

The item

RemoveAt(int)

Remove the item at the specified index

Declaration
public void RemoveAt(int Index)
Parameters
Type Name Description
int Index

The index

Implements

IEnumerable<T>
IEnumerable
In this article
Back to top Generated by DocFX