Reading data between bookmarks not working correctly in c#

Hi

I am reading word document data from bookmarks.

It was working correctly.

But at some time, the data between 2 bookmarks is reading incomplete.

I have attached file. In this “BriefCompanyBackground” bookmark data is not reading fully

17052019_Leading Frontier Pvt Ltd_RCN.zip (1.7 MB)

@pravinghadge

Please create a standalone console application ( source code without compilation errors ) that helps us to reproduce your problem on our end and attach it here for testing. Thanks for your cooperation.

PS: Please ZIP and attach the code example.

Thank you Tahir.manzoor for your reply.

Please find attached codeWindowsFormsApp1.zip (309.9 KB)

Here i have created ImportFromWord form.

After file file selection , we will get the data from word file.

In this we are not getting full data in Breif Company Background textbox

@pravinghadge

We have investigated this issue and found that you are facing this issue due to _GoBack bookmark. Please remove it as show below to get the desired output.

Document doc = new Document(fname);
doc.Range.Bookmarks["_GoBack"].Remove();

Thank you Manzoor.

Its working .