CreateLinkTable
Insert a table object
GraphObject CreateLinkTable( LPCSTR lpcszName = NULL, Worksheet & wks = NULL, int nTable = -1, DWORD dwCntrl = 0 )
returns the newly created table object
EX1
//Insert a table object in the active graph layer. void Layer_CreateLinkTable_ex1() { GraphLayer gl = Project.ActiveLayer(); if(gl) { Worksheet wks; wks.Create("Table", CREATE_HIDDEN); WorksheetPage wp = wks.GetPage(); wp.Rename("Table1"); wks.SetSize(5, 3); GraphObject grTable = gl.CreateLinkTable(wp.GetName(), wks); } }
origin.h