[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.TableCollection

Class TableCollection

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

Represents a collection of Table objects.

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

public Table Add()

Returns

Table

The added Table.

Add(Style)

Adds a Table to this collection at the End location.

public Table Add(Style style)

Parameters

style Style

The table style.

Returns

Table

The added Table.

Add(int, int, Style)

Adds a Table to this collection at the End location.

public Table Add(int columns, int rows, Style style)

Parameters

columns int

The number of columns in the new table.

rows int

The number of rows in the new table.

style Style

The table style.

Returns

Table

The added Table.

Add(int, int)

Adds a Table to this collection at the End location.

public Table Add(int columns, int rows)

Parameters

columns int

The number of columns in the new table.

rows int

The number of rows in the new table.

Returns

Table

The added Table.

Add(string[][], Style)

Adds a Table to this collection at the End location.

public Table Add(string[][] texts, Style style = null)

Parameters

texts string[][]

A two dimensional array of texts to put in the cells. The first dimension determines the number of rows, the second the number of cells.

style Style

The table style.

Returns

Table

The added Table.

Insert(InsertLocation)

Inserts a Table into this collection at a specified location.

public Table Insert(InsertLocation location)

Parameters

location InsertLocation

The target InsertLocation for the insertion.

Returns

Table

The inserted Table.

Insert(Style, InsertLocation)

Inserts a Table into this collection at a specified location.

public Table Insert(Style style, InsertLocation location)

Parameters

style Style

The table style.

location InsertLocation

The target InsertLocation for the insertion.

Returns

Table

The inserted Table.

Insert(int, int, InsertLocation)

Inserts a Table into this collection at a specified location.

public Table Insert(int columns, int rows, InsertLocation location)

Parameters

columns int

The number of columns in the new table.

rows int

The number of rows in the new table.

location InsertLocation

The target InsertLocation for the insertion.

Returns

Table

The inserted Table.

Insert(int, int, Style, InsertLocation)

Inserts a Table into this collection at a specified location.

public Table Insert(int columns, int rows, Style style, InsertLocation location)

Parameters

columns int

The number of columns in the new table.

rows int

The number of rows in the new table.

style Style

The table style.

location InsertLocation

The target InsertLocation for the insertion.

Returns

Table

The inserted Table.

Insert(string[][], InsertLocation)

Inserts a Table into this collection at a specified location.

public Table Insert(string[][] texts, InsertLocation location)

Parameters

texts string[][]

A two dimensional array of texts to put in the cells. The first dimension determines the number of rows, the second the number of cells.

location InsertLocation

The target InsertLocation for the insertion.

Returns

Table

The inserted Table.

Insert(string[][], Style, InsertLocation)

Inserts a Table into this collection at a specified location.

public Table Insert(string[][] texts, Style style, InsertLocation location)

Parameters

texts string[][]

A two dimensional array of texts to put in the cells. The first dimension determines the number of rows, the second the number of cells.

style Style

The table style.

location InsertLocation

The target InsertLocation for the insertion.

Returns

Table

The inserted Table.