Browse our Products

Aspose.OMR for Java 23.5.0 - Release Notes

What was changed

OMRJAVA-75Added the ability to set the size of all answer bubbles in the form.New feature

Public API changes and backwards compatibility

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

Added public APIs:

The following public APIs have been added in this release:


A page layout setting that determines the size of all answer bubbles in the form. Possible values are defined in BubbleSize enum.

BubbleSize enum

Possible sizes of answer bubbles:

ValueBubble size
BubbleSize.Extrasmall40 pixels
BubbleSize.Small50 pixels
BubbleSize.Normal60 pixels
BubbleSize.Large80 pixels
BubbleSize.Extralarge100 pixels

Updated public APIs:

No changes.

Removed public APIs:

No changes.

Usage examples

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

Configure the size of all answer bubbles

OmrEngine engine = new OmrEngine();
GlobalPageSettings pageSettings = new GlobalPageSettings();
pageSettings.BubbleSize = BubbleSize.Extralarge;
GenerationResult res = engine.generateTemplate("source.txt", pageSettings);
res.Save("target", "omr_form");

Extra large bubbles