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

NameTypeAccessDescription
SignDependentElementsRenderingModeWhenConvertedSignDependentElementsRenderingModesRead/WriteGets or sets the sign dependent elements rendering mode when converted.

Methods

SignatureDescription
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)FieldCalls 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)boolCalls HasField(field) on this Form instance.
HasField(fieldName: std::string)boolCalls HasField(fieldName) on this Form instance.
HasField(fieldName: std::string, searchChildren: bool)boolCalls HasField(fieldName, searchChildren) on this Form instance.
GetFieldsInRect(rect: Aspose::Pdf::Rectangle)std::vector<Field*>Calls GetFieldsInRect(rect) on this Form instance.
AutoRecalculate()boolCalls AutoRecalculate on this Form instance.
AutoRecalculate(value: bool)Calls AutoRecalculate(value) on this Form instance.
AutoRestoreForm()boolCalls AutoRestoreForm on this Form instance.
AutoRestoreForm(value: bool)Calls AutoRestoreForm(value) on this Form instance.
Count()intCalls Count on this Form instance.
DefaultAppearance()Aspose::Pdf::Annotations::DefaultAppearanceCalls DefaultAppearance on this Form instance.
DefaultAppearance(value: Aspose::Pdf::Annotations::DefaultAppearance)Calls DefaultAppearance(value) on this Form instance.
XFA()Forms::XFACalls XFA on this Form instance.
XFA()Forms::XFA
IgnoreNeedsRendering()boolCalls IgnoreNeedsRendering on this Form instance.
IgnoreNeedsRendering(value: bool)Calls IgnoreNeedsRendering(value) on this Form instance.
RemovePermission()boolCalls RemovePermission on this Form instance.
RemovePermission(value: bool)Calls RemovePermission(value) on this Form instance.
EmulateRequierdGroups()boolCalls EmulateRequierdGroups on this Form instance.
EmulateRequierdGroups(value: bool)Calls EmulateRequierdGroups(value) on this Form instance.
NeedsRendering()boolCalls NeedsRendering on this Form instance.
Type()Forms::FormTypeCalls Type on this Form instance.
Type(value: Forms::FormType)Calls Type(value) on this Form instance.
HasXfa()boolReturns 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()boolCalls SignaturesExist on this Form instance.
SignaturesExist(value: bool)Calls SignaturesExist(value) on this Form instance.
SignaturesAppendOnly()boolCalls SignaturesAppendOnly on this Form instance.
SignaturesAppendOnly(value: bool)Calls SignaturesAppendOnly(value) on this Form instance.

See Also