Hello Team,
We have a need of converting PPT files (contained embedded attachments) to pdf file. However, using Aspose we are not able to do so. Below are the required details:
- Aspose Version: 23.12.0.0
- OS version on which conversion is happening:
Edition | Windows 10 Enterprise |
---|---|
Version | 21H2 |
OS build | 19044.2486 |
Experience | Windows Feature Experience Pack 120.2212.4190.0 |
- Dot Net framework: .Net Framework 4.8
- Below is the code we are using:
Presentation presentation = new Presentation(inputFilePath);
var pdfOptions = new PdfOptions
{
SufficientResolution = 300,
EmbedFullFonts = true,
EmbedTrueTypeFontsForASCII = true,
Compliance = PdfCompliance.PdfA1a,
};
presentation.Save(outputFilePath + ".pdf", Aspose.Slides.Export.SaveFormat.Pdf, pdfOptions);
However, when the PPT file is being converted to pdf, the embedded attachments are not exported properly and it shows only icons. I am attaching the ppt file and converted pdf file for your reference.
Please have a look into this issue and share your views.
Presentation.zip (1.6 MB)
Please let me know in case of any queries. Waiting for your response.
Thanks.