Texture fill effect renders different when saving to PDF

Hi,


I am using the ASPOSE Words to save a Word document to PDF. But the generated document has a different texture fill effect versus the docx version.
I have attached the source document and the two saved versions. (source: HuboTemplate.docx)
I’ve also attached the picture used as fill effect.

Here is a snipped of how the file is opened, modified and then saved.

using (FileInformation fileInfo = Microsoft.SharePoint.Client.File.OpenBinaryDirect(ctx, itemFile.ServerRelativeUrl))
{
using (MemoryStream wordStream = new MemoryStream())
{
fileInfo.Stream.CopyTo(wordStream);
wordStream.Position = 0;
Aspose.Words.Document wordDoc = new Aspose.Words.Document(wordStream);
string replacement = “Here comes the” + ControlChar.LineBreak + " attachment" + ControlChar.LineBreak + “info”;
wordDoc.Range.Replace(new Regex(“Field:AttachmentInfo/”), replacement);
wordDoc.Range.Replace(new Regex(“Field:Titel/”), “Actie Double Decker trapladder”);
replacement = “Assistente : Tinne Engelen - Julie Kockx”+ ControlChar.LineBreak + “Product Manager : Bart Verhoeven” + ControlChar.LineBreak +“Inkoper : Staf Verbeeck”;
wordDoc.Range.Replace(new Regex(“Field:Inkoopafdeling/”), replacement);
wordDoc.Range.Replace(new Regex(“Field:Week/”), “201542”);
wordDoc.Range.Replace(new Regex(“Field:Datum/”), DateTime.Now.ToShortDateString());
wordDoc.Range.Replace(new Regex(“Field:Afdeling/”), “Gereedschappen en ijzerwaren”);
wordDoc.Range.Replace(new Regex(“Field:Leverancier/”), “ALTREX BELGIUM”);

stream = new MemoryStream();;
wordDoc.Save(@“c:\temp\Aspose Temporary Files\test” + i + “.Pdf”, Aspose.Words.SaveFormat.Pdf);
wordDoc.Save(stream, Aspose.Words.SaveFormat.Pdf);
stream.Position = 0;

streamColl[i] = stream;
}
}
Hi Luc,

Thanks for your inquiry. I tested the scenario and have managed to reproduce the same problem on my side. For the sake of correction, I have logged this problem in our issue tracking system as WORDSNET-12043 and WORDSNET-12044. We will further look into the details of this problem and will keep you updated on the status of correction. We apologize for your inconvenience.

Best regards,

The issues you have found earlier (filed as WORDSNET-12043;WORDSNET-12044) have been fixed in this .NET update and this Java update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.

The issues you have found earlier (filed as ) have been fixed in this update. This message was posted using BugNotificationTool from Downloads module by MuzammilKhan