We are pleased to announce the release of Aspose.CAD for .NET 16.12.1. The major development in this release is support for metered license mechanism. The new licensing mechanism will be used along with existing licensing method. Those customers who want to be billed based on the usage of the API features can use the metered licensing.
Aspose.CAD for .Net provides the functionality to use metered licensing mechanism. We have introduced Metered class in API to accomplish this job. The following sample code will demonstrate, how to calculate the consumed CAD API requests.
// Create an instance of CAD Metered class Aspose.CAD.Metered metered = new Aspose.CAD.Metered(); // Access the setMeteredKey property and pass public and private keys as parameters metered.SetMeteredKey("***", "***"); // Get metered data amount before calling API decimal amountbefore = Aspose.CAD.Metered.GetConsumptionQuantity(); // Display information Console.WriteLine("Amount Consumed Before: " + amountbefore.ToString()); // Do processing //Aspose.CAD.FileFormats.Cad.CadImage image = (Aspose.CAD.FileFormats.Cad.CadImage)Aspose.CAD.Image.load("BlockRefDgn.dwg"); // Get metered data amount After calling API decimal amountafter = Aspose.CAD.Metered.GetConsumptionQuantity(); // Display information Console.WriteLine("Amount Consumed After: " + amountafter.ToString());
Following enhancements have been introduced in this release.
Process of converting DWG to PDF format has been improved.
Process of converting DWG to PNG format in multithreading has been improved.
To view a complete list of new features and to download the latest release, please visit Aspose.CAD for .NET 16.12.1 page in downloads section.
Aspose.CAD for .NET Resources
The resources, you may need to accomplish your tasks:
- Homepage for Aspose.CAD for .NET API
- Download Aspose.CAD for .NET
- Aspose.CAD for .NET Wiki Docs – Help documentation
- API Reference Documents
- Aspose.CAD Product Family Forum – Post your technical questions and queries, or any other problem you faced while running Aspose.CAD APIs.
- Enable Email Subscription – Don’t limit yourself, you can keep yourself updated with the latest news on Aspose.CAD APIs and new features, fixes, plus other API related topics by subscribing to Aspose.CAD blog.
- Aspose.CAD for .NET Examples – We have published our code examples on the social coding website GitHub.com. Anyone can explore the code examples for learning purposes.