Free Support Forum - aspose.com

License initializing

Hi we bought the license for Aspose diagram for java .

and we tried to initialize is as per the instruction

com.aspose.diagram.License license = new com.aspose.diagram.License();
license.setLicense(fPath);
or we even used the file stream method .

but license.setLicense(License Path); is generating exception saying file can not be found.
we gave explicit path , we even put it in the same location with the jar but it failed are we missing something ?

@Groum

Would you kindly make sure that you are using correct file name for the license in code. In case you still face any issue, please share a sample console application (including license file) with us in a private message so that we can test the scenario in our environment and address it accordingly. You can send a private message by clicking over username and pressing blue Message button.

Thank you the above issue got solved.
But currently as new being to the library we are going through its different capability .
Can you please direct me where I can find a document that tells me how I can add custom properties to my shapes for my diagrams in java.

@Groum

We have responded to your similar inquiry in other thread.