Returns a collection of tables on a given absolute page.
Name | Type | Description |
nPage | number | The page number. |
builder.CreateFile("docx"); var oDocument = Api.GetDocument(); var oTableStyle = oDocument.GetStyle("Bordered"); var oTable = Api.CreateTable(3, 3); oTable.SetWidth("percent", 50); oTable.SetStyle(oTableStyle); oDocument.Push(oTable); var arrTables = oDocument.GetAllTablesOnPage(0); var oRow_1 = arrTables[0].GetRow(0); oRow_1.Remove(); builder.SaveFile("docx", "GetAllTablesOnPage.docx"); builder.CloseFile();