Browse our Products
Aspose.OMR for .NET 24.10.0 - Release Notes
Deprecation warning
The release 24.10.0 introduces the universal form generation API which replaces the existing methods.
To make it easier to upgrade your code, we have kept all legacy methods, but marked them as deprecated. All of your existing code will continue to work and you can even make minor updates to it, but be aware that all deprecated methods are scheduled to be removed in release 25.1.0 (January 2025).
Time to deprecation: 2 months left.
What was changed
Key | Summary | Category |
---|---|---|
OMRNET‑1067 | Added the new layout setting for long word handling. | New feature |
Public API changes and backwards compatibility
This section lists all public API changes introduced in Aspose.OMR for .NET 24.10.0 that may affect the code of existing applications.
Added public APIs:
No changes.
Updated public APIs:
The following public APIs have been changes in Aspose.OMR for .NET 24.10.0:
Aspose.OMR.Generation.LongWordHandling
enumeration
Added the new value that allows to hyphenate extremely long words that exceed page width and cannot be broken by spaces or dashes.
Value | Description |
---|---|
Aspose.OMR.Generation.LongWordHandling.Hyphenation | Hyphenate word that reach the page or block margin. |
Removed public APIs:
No changes.
Usage examples
See the examples below to learn more about the changes introduced in this release:
Hyphenate long words
Aspose.OMR.Generation.GlobalPageSettings globalPageSettings = new Aspose.OMR.Generation.GlobalPageSettings();
globalPageSettings.LongWordHandling = Aspose.OMR.Generation.Config.Enums.LongWordHandling.Hyphenation;
Aspose.OMR.Generation.GenerationResult generationResult = omrEngine.GenerateTemplate(sourceCode, globalPageSettings);