Browse our Products

Aspose.OMR for .NET 25.7.0 - Release Notes

What was changed

KeySummaryCategory
OMRNET‑1156Added support for multiple symbols inside ChoiceBox bubbleNew feature

Public API changes and backwards compatibility

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

Added public APIs:

No changes.

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:

C# code for template generation with multiple symbols inside bubble

var templateConfig = new TemplateConfig();
var choiceBoxConfig = new ChoiceBoxConfig()
{
    Name = "Is mark required",
    DisplayQuestionNumber = false,
    QuestionText = $"Do you have to mark up every question on the page?",
    
};

var yesAnswer = new ChoiceBoxAnswerConfig()
{
    Name = "Yes, that will help a lot!",
    BubbleValue = $"Yes",
};

var noAnswer = new ChoiceBoxAnswerConfig()
{
    Name = "No, it is optional",
    BubbleValue = $"No",
};


choiceBoxConfig.Children.Add(noAnswer);
choiceBoxConfig.Children.Add(yesAnswer);
templateConfig.Children.Add(choiceBoxConfig);

var result = engine.Generate(templateConfig, settings);
result.Save(@"C:\Users\User\Desktop\two_digits_in_bubble","two_digits");

Text markup for template generation with multiple symbols inside bubble

?choicebox=Do you have to mark up every question on the page?
?option=Yes, that will help a lot! 
	bubble_value=Yes
?option=No, it is optional 
	bubble_value=No
&choicebox

Example of generated template

multiple symbols inside bubble