F
Frenchy
Hello, I'm developping an add-in with C# .net
I'd like to select the parent table of a specific table. i've found the
NestingLevel property, but It's read-only.
i tried to use an other property: Parent
But it gives an object and I can't use It as a table:
Word.Table mytbl =
this.appWord.ActiveDocument.ActiveWindow.Selection.Range.Tables[1];
Word.Table tbltest = (Word.Table)mytbl.Parent;
^->doesn't work.
So...I get the first table selected by the user but I'd like to get the
parent table. how could i do?
Thanks,
Frenchy
I'd like to select the parent table of a specific table. i've found the
NestingLevel property, but It's read-only.
i tried to use an other property: Parent
But it gives an object and I can't use It as a table:
Word.Table mytbl =
this.appWord.ActiveDocument.ActiveWindow.Selection.Range.Tables[1];
Word.Table tbltest = (Word.Table)mytbl.Parent;
^->doesn't work.
So...I get the first table selected by the user but I'd like to get the
parent table. how could i do?
Thanks,
Frenchy