Browse our Products

Aspose.OMR for .NET 24.10.0 - Release Notes

Deprecation warning

What was changed

KeySummaryCategory
OMRNET‑1067Added 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.

ValueDescription
Aspose.OMR.Generation.LongWordHandling.HyphenationHyphenate 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);

Hyphenate words