This file contains hidden or 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.3D for Java |
This file contains hidden or 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
Examples-CSharp |
This file contains hidden or 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
Examples-Java |
This file contains hidden or 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-tasks/Aspose.Tasks-for-Java | |
public static final String apiKey="a165298dc077f8852d5eb6e5bf49310d"; | |
public static final String appSID="1c7a12ca-efa8-466e-b83d-234d9d5e2309"; |
This file contains hidden or 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 |
This file contains hidden or 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 hidden or 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-3d/Aspose.3D-for-.NET | |
// The path to the documents directory. | |
string MyDir = RunExamples.GetDataDir(); | |
// Initialize a Scene object | |
Scene scene = new Scene(); | |
// Create a Box model | |
scene.RootNode.CreateChildNode("box", new Box()); | |
// Create a Cylinder model | |
scene.RootNode.CreateChildNode("cylinder", new Cylinder()); |
This file contains hidden or 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-.NET | |
// set path of the license file, i.e. c:\temp\ | |
string dataDir = @"c:\temp\"; | |
License license = new License(); | |
license.SetLicense(dataDir + "Aspose.Diagram.lic"); |