Skip to content

Instantly share code, notes, and snippets.

  • Save GroupDocsGists/79372ea51728e838525519411556375d to your computer and use it in GitHub Desktop.
Save GroupDocsGists/79372ea51728e838525519411556375d to your computer and use it in GitHub Desktop.
// For complete examples and data files, please go to https://github.com/groupdocs-conversion/GroupDocs.Conversion-for-Java
// Setup Conversion configuration
ConversionHandler conversionHandler = new ConversionHandler(Utilities.getConfiguration());
SlidesLoadOptions loadOptions = new SlidesLoadOptions();
//skip or add hidden slides in the output
loadOptions.setShowHiddenSlides(true);
PdfSaveOptions options = new PdfSaveOptions();
ConvertedDocument result = conversionHandler.<String>convert(sourceFileName,loadOptions, options);
result.save(sourceFileName + "." + result.getFileType());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment