We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Blank pages are created after joining documents and save to PDF using .NET

HI

I have a Word document that I am creating from several small word docs.
like this…

Document final = new Document();
final.AppendDocument(doc1, ImportFormatMode.KeepSourceFormatting);
final.AppendDocument(doc2, ImportFormatMode.KeepSourceFormatting);
final.AppendDocument(doc3, ImportFormatMode.KeepSourceFormatting);

Then I save
final.Save(@“c:\temp\final.docx”);
final.Save(@“c:\temp\final.pdf”, SaveFormat.Pdf);

final.docx - has no blank pages
final.pdf - has a blank page before doc3 that i added.

do you know any possible reasons why this is?

@tony.woods.bell.ca

Could you please ZIP and attach your input Word documents for testing? We will investigate the issue and provide you more information on it.