Hello,
I’m saving a PPTx as PDF with the following code:
Presentation.DocumentProperties.Title = Path.GetFileNameWithoutExtension(name);
var pptOutputPath = Path.Combine(path, name);
Presentation.Save(pptOutputPath, Aspose.Slides.Export.SaveFormat.Pptx);
// PDF options, Save As PDF too.
Aspose.Slides.Export.PdfOptions options = new Aspose.Slides.Export.PdfOptions
{
Compliance = Aspose.Slides.Export.PdfCompliance.Pdf15,
EmbedFullFonts = true,
};
var pdfOutputPath = pptOutputPath.Replace(".pptx", ".pdf");
Presentation.Save(pdfOutputPath, Aspose.Slides.Export.SaveFormat.Pdf, options);
The generated PDF has a Page Size 8.27 x 11.69 in while generating it from PowerPoint itself gives me a PDF file with Page Size 8.27 x 11.70 in. This difference is breaking some text in PDF generated with Aspose.Slides.
Could you, please, give me a hint o how to solve it?
To check Page Size on Adobe Acrobat Reader I clicked right button over document and clicked in Document Properties.
Thanks for you help.