[]
Represents a collection of Paragraph objects.
public class ParagraphCollection : ContentObjectCollection<Paragraph>, IContentList<Paragraph>, IReadOnlyList<Paragraph>, IReadOnlyCollection<Paragraph>, IEnumerable<Paragraph>, IEnumerable
public Paragraph Add()
public Paragraph Add(Style style)
style
StyleThe paragraph style.
public Paragraph Add(string text, Style style)
public Paragraph Add(string text)
text
stringThe text of the inserted Paragraph
Inserts a Paragraph into this collection at a specified location.
public Paragraph Insert(InsertLocation location)
location
InsertLocationThe target InsertLocation for the insertion.
Inserts a Paragraph into this collection at a specified location.
public Paragraph Insert(Style style, InsertLocation location)
style
StyleThe paragraph style.
location
InsertLocationThe target InsertLocation for the insertion.
Inserts a Paragraph into this collection at a specified location.
public Paragraph Insert(string text, InsertLocation location)
text
stringThe text of the inserted Paragraph
location
InsertLocationThe target InsertLocation for the insertion.
Inserts a Paragraph into this collection at a specified location.
public Paragraph Insert(string text, Style style, InsertLocation location)
text
stringThe text of the inserted Paragraph
style
StyleThe paragraph style.
location
InsertLocationThe target InsertLocation for the insertion.