Related Articles:
Created
March 27, 2023 06:31
-
-
Save GroupDocsGists/dd3356869feced2b51877afa639f73e9 to your computer and use it in GitHub Desktop.
XML Viewer | Render XML 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
// XML Viewer - Render XML file as PDF using Java | |
try (Viewer viewer = new Viewer("/path/document.xml")) | |
{ | |
PdfViewOptions viewOptions = new PdfViewOptions("/path/XML-to-PDF.pdf"); | |
viewer.view(viewOptions); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment