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}{signature:
}
Signature
vb.net
vb.net
Public Default ReadOnly Property Item(ByVal row As Integer, ByVal column As Integer) As TableCell
{signature}
{parameters}
{param:row}An {{int}} representing the table 
Parameters
Param
row
row

An int representing the table cell's

row.

{param} {param:column}An {{int}} representing the table

Param
column
column

An int representing the table cell's

column.

{param} {returns}An {{TableCell}} object that represents the table cell that exists at the given column and row.{returns} {example}{code:csharp|title=C#}

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} {code:
Code Block
vb.net
|title=
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)
        
{code} {example}