Form
Overview
Form is a class in Aspose.PDF FOSS for C++.
Form text box fields can have a barcode added programmatically by calling AddBarcode(code) on a TextBoxField instance.
This class provides 39 methods for working with Form objects in C++ programs.
Available methods include: Add, AddFieldAppearance, AutoRecalculate, AutoRestoreForm, CalculatedFields, Count, DefaultAppearance, Delete, EmulateRequierdGroups, Fields, Flatten, Form, and 12 additional methods.
All public members are accessible to any C++ application after installing the Aspose.PDF FOSS for C++ package.
Accessor methods: SignDependentElementsRenderingModeWhenConverted.
Accessor Methods
| Name | Type | Access | Description |
|---|---|---|---|
SignDependentElementsRenderingModeWhenConverted | SignDependentElementsRenderingModes | Read/Write | Gets or sets the sign dependent elements rendering mode when converted. |
Methods
| Signature | Description |
|---|---|
Form() | Calls Form on this Form instance. |
Delete(field: Field) | Calls Delete(field) on this Form instance. |
Delete(fieldName: std::string) | Calls Delete(fieldName) on this Form instance. |
Flatten() | Calls Flatten on this Form instance. |
Add(field: Field, pageNumber: int) | Calls Add(field, pageNumber) on this Form instance. |
Add(field: Field) | Calls Add(field) on this Form instance. |
Add(field: Field, partialName: std::string, pageNumber: int) → Field | Calls Add(field, partialName, pageNumber) on this Form instance. |
AddFieldAppearance(field: Field, pageNumber: int, rect: Aspose::Pdf::Rectangle) | Calls AddFieldAppearance(field, pageNumber, rect) on this Form instance. |
RemoveFieldAppearance(field: Field, appearanceIndex: int) | Calls RemoveFieldAppearance(field, appearanceIndex) on this Form instance. |
MakeFormAnnotationsIndependent(page: Aspose::Pdf::Page) | Calls MakeFormAnnotationsIndependent(page) on this Form instance. |
HasField(field: Field) → bool | Calls HasField(field) on this Form instance. |
HasField(fieldName: std::string) → bool | Calls HasField(fieldName) on this Form instance. |
HasField(fieldName: std::string, searchChildren: bool) → bool | Calls HasField(fieldName, searchChildren) on this Form instance. |
GetFieldsInRect(rect: Aspose::Pdf::Rectangle) → std::vector<Field*> | Calls GetFieldsInRect(rect) on this Form instance. |
AutoRecalculate() → bool | Calls AutoRecalculate on this Form instance. |
AutoRecalculate(value: bool) | Calls AutoRecalculate(value) on this Form instance. |
AutoRestoreForm() → bool | Calls AutoRestoreForm on this Form instance. |
AutoRestoreForm(value: bool) | Calls AutoRestoreForm(value) on this Form instance. |
Count() → int | Calls Count on this Form instance. |
DefaultAppearance() → Aspose::Pdf::Annotations::DefaultAppearance | Calls DefaultAppearance on this Form instance. |
DefaultAppearance(value: Aspose::Pdf::Annotations::DefaultAppearance) | Calls DefaultAppearance(value) on this Form instance. |
XFA() → Forms::XFA | Calls XFA on this Form instance. |
XFA() → Forms::XFA | |
IgnoreNeedsRendering() → bool | Calls IgnoreNeedsRendering on this Form instance. |
IgnoreNeedsRendering(value: bool) | Calls IgnoreNeedsRendering(value) on this Form instance. |
RemovePermission() → bool | Calls RemovePermission on this Form instance. |
RemovePermission(value: bool) | Calls RemovePermission(value) on this Form instance. |
EmulateRequierdGroups() → bool | Calls EmulateRequierdGroups on this Form instance. |
EmulateRequierdGroups(value: bool) | Calls EmulateRequierdGroups(value) on this Form instance. |
NeedsRendering() → bool | Calls NeedsRendering on this Form instance. |
Type() → Forms::FormType | Calls Type on this Form instance. |
Type(value: Forms::FormType) | Calls Type(value) on this Form instance. |
HasXfa() → bool | Returns true if xfa is present. |
Fields() → std::vector<Field*> | Calls Fields on this Form instance. |
CalculatedFields(value: std::vector<Field*>) | Calls CalculatedFields(value) on this Form instance. |
SignaturesExist() → bool | Calls SignaturesExist on this Form instance. |
SignaturesExist(value: bool) | Calls SignaturesExist(value) on this Form instance. |
SignaturesAppendOnly() → bool | Calls SignaturesAppendOnly on this Form instance. |
SignaturesAppendOnly(value: bool) | Calls SignaturesAppendOnly(value) on this Form instance. |