Hi guys
we encountered a new problem as title at VS .net C# ,bellow is my code and version of Aspose.Word is 18.12 or uppper 19.12 problem still exists .
Please refer the header part in source word attachment and pdf document .
GPO_DSS_0__NBHL2205008399SD_1652770685902_e3d6fc85-ba14-43f1-8d15-babf4e037542.docx (159.1 KB)
GPO_DSS_0__NBHL2205008399SD_1652770685902_e3d6fc85-ba14-43f1-8d15-babf4e037542.pdf (153.6 KB)
Aspose.Words.Document doc = null;
try
{
byte[] datas = File.ReadAllBytes("a.docx");
doc = new Aspose.Words.Document(new MemoryStream(datas));
}
catch (Exception ex)
{
return;
}
var options = new Aspose.Words.Saving.PdfSaveOptions();
options.DownsampleOptions.Resolution = 400;
MemoryStream output = new MemoryStream();
var rlt = doc.Save(output, options);
File.WriteAllBytes("d:\\d.pdf", output.ToArray());