using Slidize;
var options = new PdfConverterOptions
{
ComplianceLevel = PdfComplianceLevel.PdfA1b,
EmbedFullFonts = true
};
PresentationToPdfConverter.Process("presentation.pptx", "output.pdf", options);
You can install the Slidize.Plugins library from the Python Package Index (PyPI) using the following command:
pip install slidize-plugins
using Slidize;
license_file_paths = [
"MyLicenses/PresentationToPDFConverter.lic",
"MyLicenses/PresentationMerger.lic"
]
for file_path in license_file_paths:
slidize.License.plug_license(file_path)
options = slidize.PdfConverterOptions()
options.compliance_level = slidize.PdfComplianceLevel.PDF_A1B
options.embed_full_fonts = True
slidize.PresentationToPdfConverter.process("presentation.pptx",
"output.pdf", options)
More examples on
GitHub