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
Aspose.Diagram-for-.NET |
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(AddPageLevelCommentInVisio.class); | |
// Call the diagram constructor to load diagram | |
Diagram diagram = new Diagram(dataDir + "Drawing1.vsdx"); | |
// Add comment | |
diagram.getPages().getPage(0).addComment(7.205905511811023, 3.880708661417323, "test@"); | |
// Save diagram |