Field

概述

Field 是 Aspose.PDF FOSS for C++ 中的一个类。

Field.Recalculate() 重新计算表单字段的值,成功时返回 true。

此类提供 26 个用于在 C++ 程序中处理 Field 对象的方法。可用的方法包括:AlternateName、AnnotationIndex、Count、FitIntoRectangle、Flatten、IsGroup、IsSharedField、MappingName、MaxFontSize、MinFontSize、PageIndex、PartialName,以及另外 4 个方法。安装 Aspose.PDF FOSS for C++ 包后,所有公共成员对任何 C++ 应用程序均可访问。

方法

签名描述
Recalculate() → bool返回一个布尔值,指示在值更改后字段的外观是否成功重新生成
Flatten()在保留表单字段在页面上的视觉外观的同时,移除其交互性
SetPosition(point: Aspose::Pdf::Point)设置位置值。
PartialName() → std::string在此 Field 实例上调用 PartialName。
PartialName(value: std::string)在此 Field 实例上调用 PartialName(value)。
AlternateName() → std::string在此 Field 实例上调用 AlternateName。
AlternateName(value: std::string)在此 Field 实例上调用 AlternateName(value)。
MappingName() → std::string在此 Field 实例上调用 MappingName。
MappingName(value: std::string)在此 Field 实例上调用 MappingName(value)。
Value() → std::string在此 Field 实例上调用 Value。
Value(value: std::string)在此 Field 实例上调用 Value(value)。
Count() → int在此 Field 实例上调用 Count。
IsGroup() → bool如果已设置 group,则返回 true。
AnnotationIndex() → int在此 Field 实例上调用 AnnotationIndex。
AnnotationIndex(value: int)在此 Field 实例上调用 AnnotationIndex(value)。
PageIndex() → int在此 Field 实例上调用 PageIndex。
IsSharedField() → bool如果已设置共享字段,则返回 true。
IsSharedField(value: bool)在此 Field 实例上调用 IsSharedField(value)。
FitIntoRectangle() → bool在此 Field 实例上调用 FitIntoRectangle。
FitIntoRectangle(value: bool)在此 Field 实例上调用 FitIntoRectangle(value)。
MaxFontSize() → double在此 Field 实例上调用 MaxFontSize。
MaxFontSize(value: double)在此 Field 实例上调用 MaxFontSize(value)。
MinFontSize() → double在此 Field 实例上调用 MinFontSize。
MinFontSize(value: double)在此 Field 实例上调用 MinFontSize(value)。
TabOrder() → int在此 Field 实例上调用 TabOrder。
TabOrder(value: int)对该 Field 实例调用 TabOrder(value)。

另请参阅

 中文