Sample Java conversion code for VSTX format to XPS file. Use this example code to convert VSTX to XPS within any Web or Desktop Java based application....with output file path and SaveFileFormat as parameters XPS file...visio.save( "output.xps" , SaveFileFormat.XPS); VSTX to XPS Conversion...