Sample Java conversion code for VSTM format to JPEG file. Use this example code to convert VSTM to JPEG within any Web or Desktop Java based application....Diagram visio = new Diagram( "template.vstm" ); // save VSTM as JPEG...manipulate including daigram elements and convert Visio diagrams...