• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class TableCellCollection

Collection of cells in one row.

Inheritance
object
TableCellCollection
Implements
IReadOnlyList<TableCell>
IReadOnlyCollection<TableCell>
IEnumerable<TableCell>
IEnumerable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
Namespace: DRIT.Pdf.Content
Assembly: DRIT.Pdf.dll
Syntax
public sealed class TableCellCollection : IReadOnlyList<TableCell>, IReadOnlyCollection<TableCell>, IEnumerable<TableCell>, IEnumerable

Properties

Count

Gets the number of cells in this collection.

Declaration
public int Count { get; }
Property Value
Type Description
int

this[int]

Gets the cell at the specified index.

Declaration
public TableCell this[int index] { get; }
Parameters
Type Name Description
int index

The zero-based index.

Property Value
Type Description
TableCell

Methods

Add()

Adds a new empty cell to this collection.

Declaration
public TableCell Add()
Returns
Type Description
TableCell

The newly created cell.

Add(string)

Adds a new cell with the specified text to this collection.

Declaration
public TableCell Add(string text)
Parameters
Type Name Description
string text

The cell text. Null values are treated as empty string.

Returns
Type Description
TableCell

The newly created cell.

GetEnumerator()

Returns an enumerator for iterating over cells.

Declaration
public IEnumerator<TableCell> GetEnumerator()
Returns
Type Description
IEnumerator<TableCell>

Implements

IReadOnlyList<T>
IReadOnlyCollection<T>
IEnumerable<T>
IEnumerable
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX