Hello Support Team,
I am experiencing an issue where the elements_count
parameter is not being recognized in OMR Templete.txt . Despite setting it to 90, the system defaults to 10. I have tried multiple times, but the issue persists.
?page=
?text=Biology Quiz: Plants
font_size=16
font_style=bold
?empty_line=
?answer_sheet=Plants
columns_count=3
elements_count=90
answers_count=5
Has the parameter name changed, or is there a different way to define it? Please let me know how I can resolve this.
Thank you for your support.
Best regards,
Veeramanikandan
SchoolCanvas
1 Like
@Veera127
It seems you are encountering an issue with the elements_count
parameter in your OMR template, where it is not being recognized as expected. This can be frustrating, especially when you have set it to 90 but the system defaults to 10.
From previous discussions, it appears that there have been similar issues reported regarding the elements_count
parameter not functioning as intended. In one case, a user reported that despite setting the elements_count
to 13, the system generated 14 elements instead. This led to the creation of an investigation ticket for further examination of the problem.
To address your issue, I recommend the following steps:
-
Check for Updates: Ensure that you are using the latest version of Aspose OMR. There have been fixes in recent updates that may resolve your issue. For instance, a bug related to this parameter was fixed in the new version of Aspose OMR for Java 23.11.
-
Review Documentation: Double-check the official documentation for any changes in parameter names or usage guidelines that may have occurred in recent updates.
-
Simplify Your Template: As a troubleshooting step, try creating a simpler version of your template with just the elements_count
parameter to see if it behaves as expected. This can help isolate the issue.
-
Contact Support: If the problem persists, consider reaching out to Aspose support with your specific template and the version you are using. They may provide more targeted assistance.
If you need further assistance or have additional questions, feel free to ask!
Sources:
[1]: Generate OMR with answer sheets
[2]: Generate OMR with answer sheets
[3]: Generate OMR with answer sheets
i pass any value to elements_count
like ‘30’ its generate only 10 count.
mvc c# asp.net core
Hello, @Veera127
I have investigated provided template layout. Please notice that .txt template markup require a tabulation for element layout property (font_style or elements_count).
If tabulation is not provided - element property is skipped and default value is used. In case of answer_sheet element - elements_count is set to “10”.
See fixed version in attachment below.
OMRNET-1091.zip (137.9 KB)
.txt markup showcases