GetParentTable
Get parent table of the row.
Returns:
- Type
-
ApiTable | null
Example
Copy code
builder.CreateFile("docx");
oDocument = Api.GetDocument();
oTable = Api.CreateTable(3, 3);
oTable.SetWidth("percent", 100);
oRow = oTable.GetRow(0);
oParentTable = oRow.GetParentTable();
oDocument.Push(oParentTable);
builder.SaveFile("docx", "GetParentTable.docx");
builder.CloseFile();