Insert table into specific place in document

Jul 7, 2015 at 12:28 PM

I need to insert a table into specific place in document, for example :
I have key-word (%table%) and I want to insert the table instead or after or before this key-word.

Is it possible to do it somehow?
Jul 10, 2015 at 7:49 AM
using(var document = DocX.Load("filename.docx") 
    document.replace("%table%", "NewValue");
Is that what you're after?
Jul 10, 2015 at 7:50 AM
Acutally, that won't work as you can only replace a string with a string :(