Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Description

Excerpt

Returns a TableCell object that represents the table cell that exists at the given column and row.

Signature
C#
C#
 public TableCell this[int row, int column] { get; }
Signature
vb.net
vb.net
Public Default ReadOnly Property Item(ByVal row As Integer, ByVal column As Integer) As TableCell
Parameters
Param
row
row

An int representing the table cell's row.

Param
column
column

An int representing the table cell's column.

Returns

An TableCell object that represents the table cell that exists at the given column and row.

Example
Code Block
csharp
csharp
titleC#

          WordApplication app = new WordApplication();
          Document doc = app.Create();
          Table table = doc.InsertTableAfter(1, 1);
          TableCell cell = table[0, 0];
        
Code Block
vb.net
vb.net
titlevb.net

          Dim app As New WordApplication()
          Dim doc As Document = app.Create()
          Dim tbl As Table = doc.InsertTableAfter(1, 1)
          Dim tc As TableCell = tbl(0, 0)