the code is:
using (Presentation pres = new Presentation(file))
{
FontsLoader.LoadExternalFonts(new string[] { fontspath });
// Instantiate the PdfOptions class
PdfOptions pdfOptions = new PdfOptions();
// Set Jpeg Quality
pdfOptions.JpegQuality = 90;
// Define behavior for metafiles
pdfOptions.SaveMetafilesAsPng = true;
// Set Text Compression level
pdfOptions.TextCompression = PdfTextCompression.Flate;
// Define the PDF standard
pdfOptions.Compliance = PdfCompliance.Pdf15;
pdfOptions.EmbedTrueTypeFontsForASCII = true;
// Save the presentation to PDF with specified options
pres.Save(pdffile, Aspose.Slides.Export.SaveFormat.Pdf, pdfOptions);
}
The file is pptOriginal.zip (34.9 KB)
this word is missing in pdf file.
shadowsPPTwords.png (9.4 KB)