Sample Java code for Converting Visio To PDF file. Use this example code To convert Visio To PDF within any Web or DeskTop Java based application....Java Conversion VISIO to PDF Vsdx JPG PDF XML Visio PDF Convert...just a few lines of code. Load VSDX file with an instance of Diagram...