Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
Aspose.OMR for .NET is a commercially licensed product that can be used in trial (evaluation) mode.
You can start using Aspose.OMR for .NET right after the installation.
In trial mode (without providing a license) you can design, generate, and recognize OMR forms. However, the following restrictions apply:
Apply a license to remove the restrictions.
A temporary license removes all limitations of the trial version for 30 days. Use it to start building a fully functional OMR application and make the final decision to purchase Aspose.OMR for .NET later.
To request a temporary license, visit “Get a Temporary License” page.
Aspose.OMR for .NET is licensed either by the number of developers and locations (sites) where the products will be used (Developer and Site licenses) or by pay-per-use (Metered licenses).
Read License Types for details and purchase a license that best suits your needs.
After receiving a purchased or temporary license, load it in your application’s code or include the license file to the application as an embedded resource.
Put the license (.lic) file to one of the following locations:
Then insert the following code in your startup method before calling any other Aspose.OMR class:
// Initialize the licensing object
Aspose.OMR.License omrLicense = new Aspose.OMR.License();
// Load the license from file
omrLicense.SetLicense("Aspose_OMR_License_File.lic");
If no path is provided, SetLicense
method will look for the license file in the folder that contains Aspose.OMR for .NET component, in the folder that contains the calling assembly, and in the folder of the entry assembly. If you prefer to load the license from the explicit path, provide the full path in SetLicense
method.
Insert the following code in your startup method before calling any other Aspose.OMR class:
// Initialize the licensing object
Aspose.OMR.License omrLicense = new Aspose.OMR.License();
// Read the license from file
FileStream licenseStream = new FileStream(@"C:\Aspose_OMR_License_File.lic", FileMode.Open);
// Load the license
omrLicense.SetLicense(licenseStream);
using System.IO;
to your code for accessing FileStream class without referring it by the full namespace.
You can include the license file as an embedded resource into one of the assemblies that call Aspose.OMR for .NET. This ensures that the file is not accidentally lost.
Then insert the following code in your startup method before calling any other Aspose.OMR class:
// Initialize the licensing object
Aspose.OMR.License omrLicense = new Aspose.OMR.License();
// Load the license from file
omrLicense.SetLicense("Aspose_OMR_License_File.lic");
// Indicate that license will be embedded to the application
omrLicense.Embedded = true;
Even if you have a single license file for all Aspose products (such as Aspose.Total), you still need to apply the license separately to each Aspose product you are using in your application.
Each Aspose product has a License class in its namespace. Use the fully qualified License class name when applying licenses to each product to avoid ambiguity; for example:
// Aspose.OMR
Aspose.OMR.License omrLicense = new Aspose.OMR.License();
omrLicense.SetLicense("Aspose_OMR_License_File.lic");
// Aspose.BarCode
Aspose.BarCode.License barcodeLicense = new Aspose.BarCode.License();
barcodeLicense.SetLicense("Aspose_BarCode_License_File.lic");
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.