Browse our Products

Aspose.OMR for .NET 22.12.0 Release Notes

What was changed

KeySummaryCategory
OMRNET-687Extended formatting capabilities of ChoiceBox element (text markup / JSON markup).
See Public API changes and backwards compatibility for details.
Enhancement
OMRNET-614Fixed "‘RotationPointPosition’ is inaccessible due to its protection level" error occurred when setting RotationPointPosition attribute of page settings.Fix

Known issues and limitations

KeySummaryWorkaround
OMRNET-462Recognition of multi-page PDF and TIFF files causes an error.Scan each page of the filled form into a separate file and recognize them one-by-one.
OMRNET-555Recalculate method results in incorrect processing of ScoreGroup elements (text markup / JSON markup) and CustomAnswerSheet elements (text markup / JSON markup).Use RecognizeImage method with different threshold setting instead of run-time adjustments of recognition accuracy.

Public API changes and backwards compatibility

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

Added public APIs:

No changes.

Updated public APIs:

The following public APIs have been updated in this release:

ChoiceBox element

The ChoiceBox element (text markup / JSON markup) has been significantly enhanced:

  • Added automatic wrapping of long texts.
  • ChoiceBox element written in simplified syntax can be nested inside blocks and paragraphs.
  • ChoiceBox answers can be written in form of ?option= elements.
  • Each answer can be individually customized.

Removed public APIs:

No changes.

Usage examples

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

Nesting ChoiceBox inside containers

?container=
	columns_count=2
?block=
	column=1
	border=square
?content=Super long line that will fit whole length of the block to see of there is any empty space between two block columns
	font_size=14
&block
?block=
	column=2
	border=square
#What is Aspose.OMR main function?
	() OCR () Capture human-marked data
	() There is no main function () Enhance images
&block
&container

Nesting ChoiceBox inside containers

Customize individual answers

#What is Aspose.OMR main function?
	() OCR () Capture human-marked data
	font_style=bold
	() There is no main function () Enhance images
	color=red
?choicebox=Do you have to mark up every question on the page?
	font_style=bold, underline
	color=red
	align=right
	font_family=Times new Roman
	font_size=20
?option= Yes, that will help a lot!
	bubble_value=Yes
	font_style=italic, underline
	color=purple
	align=right
	font_family=Segoe UI
	font_size=11
	row_index=2
?option= No
	bubble_value=No
	font_style=italic
	color=Green
	align=center
	font_family=Segoe UI
	font_size=14
	row_index=1
&choicebox

Customize individual answers