Altova Authentic 2024 Desktop

Im unten stehenden Code wird gezeigt, wie man ein Dokument öffnet.

 

 

1  // Locate samples installed with the product.

2  String strExamplesFolder = System.getenv("USERPROFILE") + "\\My Documents\\Altova\\Authentic2012\\AuthenticExamples\\";

3      

4  // Open two files from the product samples.

5  authenticDesktop.getDocuments().openFile(strExamplesFolder + "OrgChart.pxf", false);

6  authenticDesktop.getDocuments().openFile(strExamplesFolder + "ExpReport.xml", false);                        

© 2017-2023 Altova GmbH