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
The slidize-plugins package is published on npm and can be installed using the following command:
npm install slidize-plugins
const slidize = require("slidize-plugins");
slidizePlugins.License.plugLicense("license.lic");
var options = new slidize.PdfConverterOptions();
options.setComplianceLevel(slidize.PdfComplianceLevel.PdfA1b);
options.setEmbedFullFonts(true);
slidize.PresentationToPdfConverter.process("presentation.pptx",
"presentation.pdf", options);
More examples on
GitHub