// load word cover page
Aspose.Words.Document doc = new Aspose.Words.Document(coverPageStream);
string converted = Path.GetDirectoryName(doc.OriginalFileName) + “\” + Path.GetFileNameWithoutExtension(doc.OriginalFileName) + “.pdf”;
// save as pdf
doc.Save(converted);
After an initial test with the licensed latest (20.8 ) version of Aspose.Words for .NET, we were unable to reproduce this issue on our end. Please see the following output PDF document generated on our end:
We tested the scenario by specifying .NET Core 2.2 as the ‘Target framework’ on Windows 10 and were still unable to reproduce this problem on our end (see 20.8.pdf (24.9 KB)).
Please create a standalone simple Console Application (source code without compilation errors) that helps us to reproduce this problem on our end. You can remove Aspose.Words DLL files from the project to reduce the file size. Also, share your environment details (OS, .NET frameworks versions etc). Please also share any additional details that you think will help us to reproduce this problem on our end.