Read the complete article on Java RTF to PDF Conevrsion: https://blog.aspose.com/2021/06/29/convert-rtf-to-pdf-using-java/
Last active
June 30, 2021 04:10
-
-
Save aspose-com-gists/37deaa0613cccd6176d9f4f89fb3b835 to your computer and use it in GitHub Desktop.
Convert RTF to PDF in Java | https://blog.aspose.com/2021/06/29/convert-rtf-to-pdf-using-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
// Create Document object | |
Document pdfDocument = new Document("document.rtf"); | |
// Convert RTF to PDF | |
pdfDocument.save("RTF-to-PDF.pdf", SaveFormat.PDF); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment