Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
Aspose.SVG for Python via .NET is software that developers can try before purchasing. A free evaluation version of the library can be downloaded from the downloads section of Aspose’s website at: Download Aspose.SVG Python Library.
The evaluation version of Aspose.SVG is the same as the purchased one. By incorporating a few lines of code to apply the license, the trial version simply transitions to a licensed version. The evaluation version provides all the features except the following:
If you want to try Aspose.SVG without evaluation limitations, request a 30 day temporary license. Please refer to How to get a Temporary License? for more information.
The license can be loaded from a file or stream object. Aspose.SVG for Python via .NET will try to find the license in the following locations:
The license filename is not limited to “Aspose.SVG.Python.NET.lic”. Feel free to rename it as you wish and use that name when applying the license in your application.
The easiest way to apply a license is to put the license file in the same folder as the Aspose.SVG.dll file and specify just the file name without a path. You can create a license folder and place the license file there. The set_license() method then gets the path to the license file.
Example:
1# Initialize license object
2lic = License()
3
4# Set license from file
5lic.set_license("./license/Aspose.SVG.Python.via.NET.lic")
6
7print("License set successfully.")Aspose.SVG for Python via .NET API allows developers to apply the metered license. It is a new licensing mechanism. The new licensing mechanism will be used along with the existing licensing method. Those customers who want to be billed based on the usage of the API features can use the metered licensing. For more details, please refer to Metered Licensing FAQ section.
After completing all the necessary steps to obtain this type of license, you will receive the keys, not the license file. A new class Metered has been added to apply the metered key. This code example demonstrates how to set metered public and private keys:
1# Create an instance of the Metered class
2metered = Metered()
3
4# Set the public and private keys for metered licensing
5public_key = "your-public-key"
6private_key = "your-private-key"
7
8# Apply the metered license
9metered.set_metered_key(public_key, private_key)When employing multiple Aspose products within your application, for example Aspose.SVG and Aspose.HTML, consider the following helpful guidelines:
set_license() separately for each Aspose product integrated into your application.aspose.svg.License, and Aspose.HTML utilizes the aspose.html.License class. Utilizing the fully qualified class name aids in avoiding ambiguity regarding which license corresponds to which product.Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.