You can read more details at: Convert PUB to PDF Programmatically in Java
Created
January 18, 2021 21:44
-
-
Save aspose-com-gists/9b4b0083b4b732fd5e707196d9fb9fb6 to your computer and use it in GitHub Desktop.
Convert PUB to PDF Document Programmatically in Java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Load input PUB file | |
IPubParser parser = PubFactory.createParser(fileName); | |
// Parse the PUB file | |
Document doc = parser.parse(); | |
// Convert PUB to PDF | |
PubFactory.createPdfConverter().convertToPdf(doc, "PUB_Test.pdf"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment