RecognizeSurvey
Presets.RecognizeSurvey method
Recognize a survey generated with CreateSurvey method. To maintain consistency in form recognition, provide the same parameters as those in the CreateSurvey method.
public static string RecognizeSurvey(string fullPath, string title,
GlobalPageSettings settings = null, params ChoiceBoxConfig[] questions)
| Parameter | Type | Description |
|---|---|---|
| fullPath | String | Relative or absolute path to the generated survey image. |
| title | String | Title of the survey. |
| settings | GlobalPageSettings | Page layout settings. |
| questions | ChoiceBoxConfig[] | A list of questions, configured using !:CreateSurveyLine(string, string[]). |
Return Value
CSV-formatted content (question ID and answer)
Examples
var question1 = Presets.CreateSurveyQuestion("Are satisfied with your experience?", "Yes", "No", "Not sure");
var question2 = Presets.CreateSurveyQuestion("Rate our service:", "Great", "Good", "Mediocre", "Bad");
var settings = new GlobalPageSettings() { PaperSize = PaperSize.Letter }
Presets.RecognizeSurvey("C:\response.png", "Customer satisfaction survey", settings, question1, question2);
See Also
- class GlobalPageSettings
- class ChoiceBoxConfig
- class Presets
- namespace Aspose.OMR.Api
- assembly Aspose.OMR