Free Support Forum -

Aspose.OMR Create Template from markup text Problem

Dear Sir

I am trying to generate an OMR template from markup text with the following

Dim FolderPath As String = Server.MapPath("~/departmentapp/omr/template/")
Dim outputPath As String = Server.MapPath("~/departmentapp/omr/template/")

Dim lib_path As String = HttpContext.Current.Server.MapPath("~/") & “resources\library\Aspose.OMR.NET.lic”

Dim OMR_lic As New Aspose.OMR.License


Dim engine As OmrEngine = New OmrEngine()
Dim res As GenerationResult = engine.GenerateTemplate(Path.Combine(outputPath, template_filename))

If res.ErrorCode <> 0 Then
Debug.Print("ERROR CODE: " & res.ErrorCode)
End If

res.Save(outputPath, template_filename.Replace(".txt", “”))






But the result is not good. Please check the attached (1.6 KB)




Do you have any desired output as well with which we can compare the results generated by the API? If so, please share it with us so that we can try to generate the similar one and share our feedback with you.

3c4b547b-0ee8-4c8d-8f14-af367b7877bf.png (190.5 KB)

I want to create 60 questions with 4 choices




We were able to notice the issue in our environment while testing the scenario and have logged it as OMRNET-119 in our issue tracking system. We will further look into its details and keep you posted with the status of ticket resolution. Please be patient and spare us some time.

We are sorry for the inconvenience.


We have investigated the earlier logged ticket and found that the issue was in your text markup file. You were using spaces instead of tabs. Please check the revised version of the markup file where we replaced the spaces with tabs. (257 Bytes)

We will also support text markups with spaces in the future releases of the API.