Hi, I converted the attached word doc to PDF and have noticed the following issues:
- The cover page has incorrect shading - its much darker and the logo is surrounded by white from the table cell
- The contents title is a much darker shade of green
- The table contents are center aligned instead of left aligned
See attached for a PDF saved from Word and the one generated using Aspose.
My code:
private static DocumentFile GetDocumentFileFromAsposeDocument(Aspose.Words.Document document, string documentName, SaveFormat format)
{
using (var stream = new MemoryStream())
{
// Save the Aspose document to the specified format
document.Save(stream, format);
return new DocumentFile
{
DocumentFileBase64 = Convert.ToBase64String(stream.ToArray()),
FileName = documentName,
FileExtension = “.” + format.ToString().ToLower()
};
}
}
Thanks in advance