FormFieldFacade

FormFieldFacade

概述

FormFieldFacade 是 Aspose.PDF FOSS 中用于 .NET 的类。

表示表单字段的视觉外观属性。

此类提供 1 个方法,用于在 .NET 程序中处理 FormFieldFacade 对象。可用的方法包括:Reset。在安装了 Aspose.PDF FOSS for .NET 软件包后,所有公共成员对任何 .NET 应用程序均可访问。属性包括:AlignBottom、AlignCenter、AlignJustified、AlignLeft、AlignMiddle、AlignRight,以及另外 39 项。

属性

名称类型访问描述
Captionstring?读写字段的标题(别名 / 工具提示 / TU 条目)。
FontFontStyle读写字段使用的字体族。
CustomFontstring?读写可选的字体名称覆盖,用于当 Font 未指明已知的字体族时。
FontSizefloat读写字段的字体大小。
BorderWidthfloat读写边框宽度(单位:点)。
BorderStyleint读写边框样式。
BorderColorSystem.Drawing.Color读写边框颜色。
BackgroundColorSystem.Drawing.Color读写背景颜色。
BackgroudColorSystem.Drawing.Color读写背景颜色。
TextColorSystem.Drawing.Color读写文字颜色。
BoxSystem.Drawing.Rectangle读写字段的位置矩形,以 PDF 整数点为单位。
PageNumberint读写字段出现的页码(基于1)。
Alignmentint读写字段对齐方式。
Rotationint读写旋转角度(0,90,180,270)。
ButtonStyleint读写按钮视觉样式 — 由 CheckBoxStyleCheck 等组合.
Itemsstring[]?读写用于选择字段(下拉框 / 列表框)的项目列表.
ExportItemsstring[][]?读写项目的导出值对,与 Items 配对.
Positionfloat[]?读写字段位置,以点为单位的 4 元素数组 [llx, lly, urx, ury]。
TextEncodingEncodingType读写字段字体使用的文本编码。
AlignUndefinedint读取获取对齐未定义。
AlignLeftint读取获取左对齐。
AlignCenterint读取获取居中对齐。
AlignRightint读取获取右对齐。
AlignTopint读取获取对齐顶部。
AlignMiddleint读取获取对齐中间。
AlignBottomint读取获取对齐底部。
AlignJustifiedint读取获取对齐(两端对齐)。
BorderStyleUndefinedint读取获取未定义的边框样式。
BorderStyleSolidint读取获取实线边框样式。
BorderStyleDashedint读取获取虚线边框样式。
BorderStyleBeveledint读取获取倾斜的边框样式。
BorderStyleInsetint读取获取边框样式内嵌。
BorderStyleUnderlineint读取获取下划线的边框样式。
BorderWidthUndefinedfloat读取获取边框宽度 undefined。
BorderWidthUndifiedfloat读取BorderWidthUndefined 的别名。
BorderWidthThinfloat读取获取细边框宽度。
BorderWidthMediumfloat读取获取中等的边框宽度。
BorderWidthThickfloat读取获取边框宽度的粗细。
CheckBoxStyleUndefinedint读取获取未定义的复选框样式。
CheckBoxStyleCheckint读取获取复选框样式的检查。
CheckBoxStyleCircleint读取获取复选框样式的圆形。
CheckBoxStyleCrossint读取获取复选框样式的十字。
CheckBoxStyleDiamondint读取获取复选框样式的菱形。
CheckBoxStyleSquareint读取获取复选框样式方块。
CheckBoxStyleStarint读取获取复选框样式星标。

方法

签名描述
Reset()将每个属性重置为默认值。

另请参阅

 中文