[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.ParagraphCollection

Class ParagraphCollection

Namespace
GrapeCity.Documents.Word
Assembly
GcDocs.Word.dll

Represents a collection of Paragraph objects.

public class ParagraphCollection : ContentObjectCollection<Paragraph>, IContentList<Paragraph>, IReadOnlyList<Paragraph>, IReadOnlyCollection<Paragraph>, IEnumerable<Paragraph>, IEnumerable
Inheritance
object
ParagraphCollection
Implements
System.Collections.Generic.IReadOnlyList<T><Paragraph>
System.Collections.Generic.IReadOnlyCollection<T><Paragraph>
System.Collections.Generic.IEnumerable<T><Paragraph>
System.Collections.IEnumerable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Methods

Add()

Adds a Paragraph to this collection at the End location.

public Paragraph Add()

Returns

Paragraph

The added Paragraph.

Add(Style)

Adds a Paragraph to this collection at the End location.

public Paragraph Add(Style style)

Parameters

style Style

The paragraph style.

Returns

Paragraph

The added Paragraph.

Add(string, Style)

Adds a Paragraph to this collection at the End location.

public Paragraph Add(string text, Style style)

Parameters

text string

The text of the inserted Paragraph

style Style

The paragraph style.

Returns

Paragraph

The added Paragraph.

Add(string)

Adds a Paragraph to this collection at the End location.

public Paragraph Add(string text)

Parameters

text string

The text of the inserted Paragraph

Returns

Paragraph

The added Paragraph.

Insert(InsertLocation)

Inserts a Paragraph into this collection at a specified location.

public Paragraph Insert(InsertLocation location)

Parameters

location InsertLocation

The target InsertLocation for the insertion.

Returns

Paragraph

The inserted Paragraph.

Insert(Style, InsertLocation)

Inserts a Paragraph into this collection at a specified location.

public Paragraph Insert(Style style, InsertLocation location)

Parameters

style Style

The paragraph style.

location InsertLocation

The target InsertLocation for the insertion.

Returns

Paragraph

The inserted Paragraph.

Insert(string, InsertLocation)

Inserts a Paragraph into this collection at a specified location.

public Paragraph Insert(string text, InsertLocation location)

Parameters

text string

The text of the inserted Paragraph

location InsertLocation

The target InsertLocation for the insertion.

Returns

Paragraph

The inserted Paragraph.

Insert(string, Style, InsertLocation)

Inserts a Paragraph into this collection at a specified location.

public Paragraph Insert(string text, Style style, InsertLocation location)

Parameters

text string

The text of the inserted Paragraph

style Style

The paragraph style.

location InsertLocation

The target InsertLocation for the insertion.

Returns

Paragraph

The inserted Paragraph.