Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I create a simple application to perform OMR analysis without using an FDL on a single field?

0
Posted

How do I create a simple application to perform OMR analysis without using an FDL on a single field?

0

Please refer to the sample code listed below: 1) Pass the image to the SmartScan control and create the form. ssx.ImageSource = IMGSRC_DIB ssx.hDIB = Xpress.CopyDIB ssx.CreateForm “OMRForm” ssx.SetFormBounds 0, 0, Xpress.IWidth, Xpress.IHeight 2) Set the field boundaries and the various OMR settings. ssx.AddFormField “OMR” ssx.SetFieldBounds 203, 1018, 156, 457 ssx.FieldType = FIELDTYPE_OMR ssx.FieldOMRBubbleShape = OMRBUBBLESHAPE_CIRCLE ssx.FieldOMRBubbleReadOrder = OMRREADORDER_HORIZONTAL ssx.FieldOMRMarkThreshold = 25 ssx.FieldOMRColumns = 5 ssx.FieldOMRRows = 8 3) Set the string values to return for the filled in bubbles. For col = 1 To 5 charint = Chr$(Asc(“A”) + col – 1) For row = 1 To 8 ssx.SetFieldOMRBubbleValue row, col, charint Next Next 4) Start processing the image and retrieve the results for the defined field. ssx.StartFormProcessing Me.Caption = ssx.SSError MsgBox ssx.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123