Class FormFieldFacade

FormFieldFacade 类

表示字段属性的类。

public sealed class FormFieldFacade

构造函数

名称描述
FormFieldFacade()默认构造函数。

属性

名称描述
Alignment { get; set; }字段文本的对齐方式,默认是左对齐。
BackgroundColor { get; set; }字段背景的颜色,默认是白色。
BorderColor { get; set; }字段边框的颜色。
BorderStyle { get; set; }字段边框的样式。
BorderWidth { get; set; }字段边框的宽度。
Box { get; set; }一个矩形对象,表示字段的位置。
ButtonStyle { get; set; }复选框或单选框字段的样式,由 FormFieldFacade.CheckBoxStyle* 定义。
Caption { get; set; }表单字段的正常标题。
CustomFont { get; set; }获取或设置非标准字体的名称(其他于 14 种标准字体)。
ExportItems { get; set; }添加列表/组合框/单选框的选项
Font { get; set; }字段文本的字体类型。
FontSize { get; set; }字段文本的大小。
Items { get; set; }字符串数组,每个字符串表示组合框/列表/单选框字段的一个选项。
PageNumber { get; set; }一个整数值,表示字段所在页面的页码。
Position { get; set; }一个矩形对象,表示字段的位置。
Rotation { get; set; }字段文本的旋转角度。
TextColor { get; set; }字段文本的颜色。
TextEncoding { get; set; }字段文本的文本编码类型。

方法

名称描述
Reset()重置所有视觉属性为默认值。

字段

名称描述
const AlignBottom定义垂直对齐为底部样式。
const AlignCenter定义对齐为居中样式。
const AlignJustified定义文本的对齐样式为两端对齐。
const AlignLeft定义对齐为左侧样式。
const AlignMiddle定义垂直对齐为中间样式。
const AlignRight定义对齐为右侧样式。
const AlignTop定义垂直对齐为顶部样式。
const AlignUndefined未定义的对齐样式。
const BorderStyleBeveled定义斜面边框样式。
const BorderStyleDashed定义虚线边框样式。
const BorderStyleInset定义内嵌边框样式。
const BorderStyleSolid定义实线边框样式。
const BorderStyleUndefined未定义的边框样式。
const BorderStyleUnderline定义下划线边框样式。
const BorderWidthMedium定义中等边框宽度。
const BorderWidthThick定义粗边框宽度。
const BorderWidthThin定义细边框宽度。
const BorderWidthUndefined未定义的边框宽度。
const CheckBoxStyleCheck定义复选框字段被选中时的形状。
const CheckBoxStyleCircle定义圆形复选框样式。
const CheckBoxStyleCross定义交叉复选框样式。
const CheckBoxStyleDiamond定义菱形复选框样式。
const CheckBoxStyleSquare定义方形复选框样式。
const CheckBoxStyleStar定义星形复选框样式。
const CheckBoxStyleUndefined定义未定义的复选框样式。

另请参见