Free Support Forum - aspose.com

EMF Graphic is not displayed correctly when saved as PDF

Hello,

we are using Aspose.Slides for .NET Version 20.1.

We are adding Charts in different representations as EMF-Graphics to the presentation.
When saving the presentation as .pptx the graphics are displayed correctly.

When saving the presentation as .pdf the graphics are not displayed correctly.
They are missing the labels and some of the lines are drawn outside the Chart area.

When opening the .pptx with Aspose.Slides and saving to PDF the same incorrect output occurs.

Code:
var pdfOptions = new PdfOptions() {SaveMetafilesAsPng = false};
var presentation = new Presentation(„Source.pptx“);
presentation.Save(„Output.pdf“, SaveFormat.Pdf, pdfOptions);

The Zipfile contains:

  • Source.pptx (Powerpoint with two EMF-Images displayed correctly)
  • Output.pdf (Pdf Output with the Images not displayed correctly)

Could you please investigate this?
Thank you very much.

Kind Regards,
Marc
Files.zip (66.2 KB)

1 Like

@mabaex,

I have worked with sample shared by you and have been able to observe the issue. An issue with ID SLIDESNET-41741 has been created to resolve this. This thread has been linked with issue so that you may be notified once issue will be fixed.

1 Like