[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.RunCollection

Class RunCollection

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

Represents a collection of Run objects.

public class RunCollection : ContentObjectCollection<Run>, IContentList<Run>, IReadOnlyList<Run>, IReadOnlyCollection<Run>, IEnumerable<Run>, IEnumerable
Inheritance
object
RunCollection
Implements
System.Collections.Generic.IReadOnlyList<T><Run>
System.Collections.Generic.IReadOnlyCollection<T><Run>
System.Collections.Generic.IEnumerable<T><Run>
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 Run to this collection at the End location.

public Run Add()

Returns

Run

The added Run.

Add(Style)

Adds a Run to this collection at the End location.

public Run Add(Style style)

Parameters

style Style

The run character or linked paragraph style.

Returns

Run

The added Run.

Add(string, Style)

Adds a Run to this collection at the End location.

public Run Add(string text, Style style)

Parameters

text string

The text of the inserted Run

style Style

The run character or linked paragraph style.

Returns

Run

The added Run.

Add(string)

Adds a Run to this collection at the End location.

public Run Add(string text)

Parameters

text string

The text of the inserted Run

Returns

Run

The added Run.

Insert(InsertLocation)

Inserts a Run into this collection at a specified location.

public Run Insert(InsertLocation location)

Parameters

location InsertLocation

The target InsertLocation for the insertion.

Returns

Run

The inserted Run.

Insert(Style, InsertLocation)

Inserts a Run into this collection at a specified location.

public Run Insert(Style style, InsertLocation location)

Parameters

style Style

The run character or linked paragraph style.

location InsertLocation

The target InsertLocation for the insertion.

Returns

Run

The inserted Run.

Insert(string, InsertLocation)

Inserts a Run into this collection at a specified location.

public Run Insert(string text, InsertLocation location)

Parameters

text string

The text of the inserted Run

location InsertLocation

The target InsertLocation for the insertion.

Returns

Run

The inserted Run.

Insert(string, Style, InsertLocation)

Inserts a Run into this collection at a specified location.

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

Parameters

text string

The text of the inserted Run

style Style

The run character or linked paragraph style.

location InsertLocation

The target InsertLocation for the insertion.

Returns

Run

The inserted Run.