DocX
DocX copied to clipboard
when call the InsertDocument method throw Exception ---NullReferenceException
Hi,I used 1.7 release version yesterday,but i found when i call the "document.InsertDocument(document1, true)" method ,the system throw a "NullReferenceException" Then i used 1.6 release the code is passed,I think it's a bug.Please check the 1.7 release the InsertDocument method.
Thank you for sharing the DocX for us Best regards
Hi, Can you share your documents so we can test it ? Thank you.
Hi, Can you share your documents so we can test it ? Thank you.
Please give me your email,i will send you my document as soon as. Thank you
I'm sorry.I still wait the reply in github.The attachments are used in my project. Thanks for your reply.If you have something required,I will provide with
Best regards
At 2020-07-06 20:48:42, "XceedBoucherS" [email protected] wrote:
Hi, Can you share your documents so we can test it ? Thank you.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
Hi, You can just drag your docx and drop it here while you write and we will be able to access it. Thank you.
Hi, You can just drag your docx and drop it here while you write and we will be able to access it. Thank you.
document1.docx document2.docx Ok Thank you very much
Hi,
Thank you for the documents.
I installed DocX v1.7 from Nuget. I then used the following code: ` var document1 = DocX.Load( "document1.docx" ); var document2 = DocX.Load( "document2.docx" );
document1.InsertDocument( document2, true );
document1.SaveAs( "output.docx" );`
I didn't receive a NullRefException and the output.docx was correct.