I am trying to use the .NET application to generate an answer sheet. However, when I type in a value for elements_count
it always renders 10 elements (regardless of the entered value being less than or greater than 10). I face the same error when using the text markup. However, when using the GUI client this error does not occur (I want to be able to use the .NET application as it allows for more customization of the sheet)
Here is the code for the sheet generation
Aspose.OMR.Generation.Config.TemplateConfig tempConfig = new Aspose.OMR.Generation.Config.TemplateConfig() {
Children=new List<BaseConfig>(){
new PageConfig() {
Children=new List<BaseConfig>(){
new TextConfig(){
Name="Player One",
FontSize=12,
FontStyle=FontStyle.Bold
},
new EmptyLineConfig(),
new AnswerSheetConfig(){
Name="One",
ElementsCount=20,
ColumnsCount=1,
AnswersCount=1,
BubbleSize=BubbleSize.Extrasmall,
VerticalMargin=2,
AnswersValues=new string[] {"1", "2", "3", "4", "5"}
}
}
}
}
};