ChoiceBoxConfig
内容
[
隐藏
]ChoiceBoxConfig class
选择框是一个基本元素,表示具有固定数量答案的单个问题。
public class ChoiceBoxConfig : ParentConfig
构造函数
| 名称 | 描述 |
|---|---|
| ChoiceBoxConfig() | 默认构造函数。 |
属性
| 名称 | 描述 |
|---|---|
| override Children { get; set; } | 子 OMR 元素。ChoiceBoxAnswerConfig |
| Color { get; set; } | 文本颜色 |
| DisplayQuestionNumber { get; set; } | 是否显示此问题的编号。默认值为 true。 |
| FontFamily { get; set; } | 文本的字体族 |
| FontSize { get; set; } | 文本字体的大小 |
| FontStyle { get; set; } | 文本的样式 |
| Multiselect { get; set; } | 允许每个问题选择多个答案,覆盖 Multiselect 中的默认设置。 |
| override Name { get; set; } | Choice 框的名称。用于显示的值为 QuestionText。 |
| QuestionText { get; set; } | 获取或设置 ChoiceBox 元素的问题文本 |
| TextAlignment { get; set; } | 文本对齐,指示文本应在页面上的绘制位置 |
| override Type { get; set; } | OMR 元素的类型。JSON 序列化所需的字段。 |
另请参阅
- class ParentConfig
- namespace Aspose.OMR.Generation.Config.Elements
- assembly Aspose.OMR