Hi,
When saving a Word document as PDF, having objects grouped together (shapes and images) will cause these objects to not be rendered in the output PDF file.
var document = new Aspose.Words.Document(@"TestFiles\\randDoc.docx");
using (var pdfMemoryStream = new FileStream("out.pdf", FileMode.Create))
{
var pdfSaveOptions = new asposeWordsSaving::PdfSaveOptions
{
JpegQuality = 100,
TextCompression = asposeWordsSaving::PdfTextCompression.None,
PageCount = document.PageCount
};
pdfSaveOptions.OutlineOptions.DefaultBookmarksOutlineLevel = 9;
pdfSaveOptions.MetafileRenderingOptions.RenderingMode = asposeWordsSaving::MetafileRenderingMode.Vector;
document.Save(pdfMemoryStream, pdfSaveOptions);
}
Thank you,
Ruxandra