WidgetAnnotation
概述
WidgetAnnotation 是 Aspose.PDF 为 C++ 提供的 FOSS 中的一个类。
WidgetAnnotation 提供对 AcroForm 字段属性的访问,如 ReadOnly、Required、Exportable 和 DefaultAppearance。
此类提供 14 个方法,用于在 C++ 程序中处理 WidgetAnnotation 对象。可用的方法包括:Accept、DefaultAppearance、Exportable、GetCheckedStateName、Highlighting、Parent、ReadOnly、Required。在安装 Aspose.PDF 为 C++ 提供的 FOSS 包后,所有公共成员对任何 C++ 应用程序均可访问。
方法
| 签名 | 描述 |
|---|---|
Accept(visitor: AnnotationSelector) | 在此 WidgetAnnotation 实例上调用 Accept(visitor)。 |
GetCheckedStateName() → std::string | 返回已检查的状态名称。 |
Highlighting() → HighlightingMode | 在此 WidgetAnnotation 实例上调用 Highlighting。 |
Highlighting(value: HighlightingMode) | 在此 WidgetAnnotation 实例上调用 Highlighting(value)。 |
DefaultAppearance() → Annotations::DefaultAppearance | 在此 WidgetAnnotation 实例上调用 DefaultAppearance。 |
DefaultAppearance(value: Annotations::DefaultAppearance) | 在此 WidgetAnnotation 实例上调用 DefaultAppearance(value)。 |
ReadOnly() → bool | 在此 WidgetAnnotation 实例上调用 ReadOnly。 |
ReadOnly(value: bool) | 在此 WidgetAnnotation 实例上调用 ReadOnly(value)。 |
Required() → bool | 对该 WidgetAnnotation 实例调用 Required。 |
Required(value: bool) | 对该 WidgetAnnotation 实例调用 Required(value)。 |
Exportable() → bool | 对该 WidgetAnnotation 实例调用 Exportable。 |
Exportable(value: bool) | 对该 WidgetAnnotation 实例调用 Exportable(value)。 |
Parent() → Forms::Field | 对该 WidgetAnnotation 实例调用 Parent。 |
Parent(value: Forms::Field) | 对该 WidgetAnnotation 实例调用 Parent(value)。 |