CreateSurvey
Presets.CreateSurvey method
Combine questions into a simple survey.
public static void CreateSurvey(string fullPath, string title = null,
GlobalPageSettings settings = null, params ChoiceBoxConfig[] questions)
Parameter | Type | Description |
---|---|---|
fullPath | String | Relative or absolute path to the generated survey image. |
title | String | Optional title of the survey. |
settings | GlobalPageSettings | Optional page layout settings. |
questions | ChoiceBoxConfig[] | A list of questions, configured using CreateSurveyQuestion . |
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.CreateSurvey("C:\survey.png", "Customer satisfaction survey", settings, question1, question2);
See Also
- class GlobalPageSettings
- class ChoiceBoxConfig
- class Presets
- namespace Aspose.OMR.Api
- assembly Aspose.OMR