RecognizeSurvey
Presets.RecognizeSurvey method
التعرف على استبيان تم إنشاؤه باستخدام طريقة CreateSurvey. للحفاظ على التناسق في التعرف على النماذج، قدم نفس المعلمات كما هي في طريقة CreateSurvey.
public static string RecognizeSurvey(string fullPath, string title,
GlobalPageSettings settings = null, params ChoiceBoxConfig[] questions)
| معامل | النوع | الوصف |
|---|---|---|
| fullPath | سلسلة | مسار نسبي أو مطلق إلى صورة الاستبيان المُولدة. |
| title | سلسلة | عنوان الاستبيان. |
| الإعدادات | GlobalPageSettings | إعدادات تخطيط الصفحة. |
| questions | ChoiceBoxConfig[] | قائمة من الأسئلة، مُكوَّنة باستخدام !:CreateSurveyLine(string, string[]). |
قيمة الإرجاع
محتوى بتنسيق CSV (معرّف السؤال والإجابة)
أمثلة
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);
انظر أيضًا
- class GlobalPageSettings
- class ChoiceBoxConfig
- class Presets
- namespace Aspose.OMR.Api
- assembly Aspose.OMR