We do import the full package name.
The program is in python script.
This is the piece of code that import the packages and licenses.
from com.aspose.slides import Presentation,Slide,Slides,License
from com.aspose.metafiles import Metafile (it's the same behaviour if I put also here License)
from java.lang import System
import coreFunctionLibraryClass
oLibrary = coreFunctionLibraryClass.coreFunctionLibrary(globals())
##########################
# ASPOSE LICENSE SECTION #
##########################
idx = pscriptsDir.rfind('\\')
idx = pscriptsDir[0:idx].rfind('\\')
collabDir = pscriptsDir[0:idx]
#Create a stream object containing the license file
fstream = FileInputStream(collabDir + '\lib\ext\Aspose[1].Total.Java.lic')
#Instantiate the License class
license= License()
#Set the license through the stream object
license.setLicense(fstream)
#Closing the stream finally
if(fstream):
fstream.close()
##############################
# END ASPOSE LICENSE SECTION #
##############################
The result is that the slide are well displayed a part from the slides that contain a chart. Only in these one the trial message compares.
Please let me know if you need addictional information.
Best regards,
Cristian