Additional space added when copying Data from one document to another

HI ,
I have similar scenario where I am copying data from document to other.
Attaching both for reference.
First page space between you will see lot of space.
Please let me know on how to remove it.Source.zip (1.8 MB)

@TejKamal_Thotakuri ,

Thanks for your inquiry. To ensure a timely and accurate response, please ZIP and attach the following resources here for testing:

  • Aspose.Words generated output DOCX file showing the undesired behavior
  • Your expected DOCX Word document. We will investigate the structure of your expected document as to how you want your final output be generated like. You can create expected document by using Microsoft Word. Please also list the complete steps that you performed in MS Word to get the desired output
  • Please also create a standalone simple Console Application (source code without compilation errors) that helps us to reproduce your problem on our end and attach it here for testing. Please do not include Aspose.Words.dll files in it to reduce the file size.

As soon as you get these pieces of information ready, we will start investigation into your issue and provide you more information. Thanks for your cooperation.

Please find attached. Documents are available in previous uploaded zip(Source and Target)

Console.zip (1.2 MB)

@TejKamal_Thotakuri,

With Aspose.Words for .NET 18.8, we have generated output DOC and PDF files on our end by using the code you provided (see output.zip (1.4 MB)).

You please also create a comparison screenshot highlighting (encircle) all the problematic areas in Aspose.Words generated output documents and share it here for our reference.