Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Description

Excerpt

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

Signature
C#C#
Wiki Markup
{description}
{excerpt}Returns a [TableCell|TableCell] object that represents the table cell that exists at the given column and row.{excerpt}
{signature: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
Parameters
Param
rowrowAn int representing the table
{signature}
{parameters}
{param:row}An {{int}} representing the table cell's row.
Param
columncolumnAn int representing the table
{param}
{param: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.

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

          WordApplication app = new WordApplication();
          Document doc = app.Create();
          Table table = doc.InsertTableAfter(1, 1);
          TableCell cell = table[0, 0];
        
{code}
{code:vb.net
|title=vb.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}
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle