Browse our Products

Aspose.OMR for .NET 24.9.0 - Release Notes

Deprecation warning

What was changed

KeySummaryCategory
OMRNET‑1046Streamlined the form generation API.Enhancement

Public API changes and backwards compatibility

This section lists all public API changes introduced in Aspose.OMR for .NET 24.9.0 that may affect the code of existing applications.

Added public APIs:

The following public APIs have been added to Aspose.OMR for .NET 24.9.0:

Aspose.OMR.Api.OmrEngine.Generate method

Renders the template source code into a printable form. This method works as the universal replacement for the existing Aspose.OMR.Api.OmrEngine.GenerateTemplate and Aspose.OMR.Api.OmrEngine.GenerateJSONTemplate methods by automatically detecting the source code format.

Updated public APIs:

No changes.

Removed public APIs:

No changes.

Deprecated APIs

The following public APIs have been marked as deprecated and will be removed in 25.1.0 (January 2025) release:

Aspose.OMR.Api.OmrEngine.GenerateTemplate method

Use the universal Aspose.OMR.Api.OmrEngine.Generate method to automatically detect the form’s source code format.

Aspose.OMR.Api.OmrEngine.GenerateJSONTemplate method

Use the universal Aspose.OMR.Api.OmrEngine.Generate method to automatically detect the form’s source code format.

Aspose.OMR.Api.OmrEngine.GenerateJSONTemplateFromString method

This method is scheduled to be removed in release 25.1.0 (January 2025).

Usage examples

See the examples below to learn more about the changes introduced in this release:

Generating the printable form

Aspose.OMR.Api.OmrEngine omrEngine = new Aspose.OMR.Api.OmrEngine();
Aspose.OMR.Generation.GenerationResult generationResult = omrEngine.Generate("template.txt");
generationResult.Save("", "form");