Field
Overview
Field is a class in Aspose.PDF FOSS for C++.
Field.Recalculate() recomputes the value of a form field and returns true on success.
This class provides 26 methods for working with Field objects in C++ programs.
Available methods include: AlternateName, AnnotationIndex, Count, FitIntoRectangle, Flatten, IsGroup, IsSharedField, MappingName, MaxFontSize, MinFontSize, PageIndex, PartialName, and 4 additional methods.
All public members are accessible to any C++ application after installing the Aspose.PDF FOSS for C++ package.
Methods
| Signature | Description |
|---|---|
Recalculate() → bool | Returns a boolean indicating whether the field’s appearance was successfully regenerated after a value change |
Flatten() | Removes the interactive nature of a form field while preserving its visual appearance on the page |
SetPosition(point: Aspose::Pdf::Point) | Sets the position value. |
PartialName() → std::string | Calls PartialName on this Field instance. |
PartialName(value: std::string) | Calls PartialName(value) on this Field instance. |
AlternateName() → std::string | Calls AlternateName on this Field instance. |
AlternateName(value: std::string) | Calls AlternateName(value) on this Field instance. |
MappingName() → std::string | Calls MappingName on this Field instance. |
MappingName(value: std::string) | Calls MappingName(value) on this Field instance. |
Value() → std::string | Calls Value on this Field instance. |
Value(value: std::string) | Calls Value(value) on this Field instance. |
Count() → int | Calls Count on this Field instance. |
IsGroup() → bool | Returns true if group is set. |
AnnotationIndex() → int | Calls AnnotationIndex on this Field instance. |
AnnotationIndex(value: int) | Calls AnnotationIndex(value) on this Field instance. |
PageIndex() → int | Calls PageIndex on this Field instance. |
IsSharedField() → bool | Returns true if shared field is set. |
IsSharedField(value: bool) | Calls IsSharedField(value) on this Field instance. |
FitIntoRectangle() → bool | Calls FitIntoRectangle on this Field instance. |
FitIntoRectangle(value: bool) | Calls FitIntoRectangle(value) on this Field instance. |
MaxFontSize() → double | Calls MaxFontSize on this Field instance. |
MaxFontSize(value: double) | Calls MaxFontSize(value) on this Field instance. |
MinFontSize() → double | Calls MinFontSize on this Field instance. |
MinFontSize(value: double) | Calls MinFontSize(value) on this Field instance. |
TabOrder() → int | Calls TabOrder on this Field instance. |
TabOrder(value: int) | Calls TabOrder(value) on this Field instance. |