Dear Sir
I am trying to generate an OMR template from markup text with the following
Code:
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
OMR_lic.SetLicense(lib_path)
Debug.Print(template_filename)
'------------------------------------------------------------------------------------------------------------------
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", “”))
Text
?answer_sheet=Questions
elements_count=60
columns_count=3
start_id=51
answers_count=5
But the result is not good. Please check the attached filetemplate.zip (1.6 KB)
Regards
Churchill