Hiding Tables on a Word Template

Hi,
I use Aspose.Word through a VB.Net app. to generate reports from a word template. On this template, I have tables. Within the tables are smart tags that populates the tables with data on mailmerge (with regions).
Question: Is it possible to hide (or remove) a table on the word template using aspose.word if for example there is no data available for a table, or if a logged in user does not have permission to see the data.
Thanks in advance,
AD

Hi
Thanks for your inquiry. Yes of course you can remove any node from document using Aspose.Words.
You can remove Table from document using the following code.

doc.Sections[0].Body.Tables[0].Remove();

I think you can find useful information in the following thread:
https://forum.aspose.com/t/108361
Best regards.