Lavorare con le forme Paragrafo
Contents
[
Hide
]
Il codice seguente mostra come:
- Carica un file di esempio.
- Accedi a una forma particolare.
- Imposta il paragrafo della forma.
Impostare l’esempio di programmazione del paragrafo della forma
Usa il seguente codice nella tua applicazione Java per impostare il paragrafo della forma usando Aspose.Diagram for 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
// For complete examples and data files, please go to https://github.com/aspose-diagram/Aspose.Diagram-for-Java | |
// The path to the documents directory. | |
String dataDir = Utils.getDataDir(CreateNewVisio.class); | |
// initialize a Diagram class | |
Diagram diagram = new Diagram(); | |
// save diagram in the VSDX format | |
diagram.save(dataDir + "CreateNewVisio_Out.vsdx", SaveFileFormat.VSDX); |