Form

Tổng quan

Form là một lớp trong Aspose.PDF FOSS cho C++.

Các trường hộp văn bản Form có thể được thêm mã vạch một cách lập trình bằng cách gọi AddBarcode(code) trên một thể hiện TextBoxField.

Lớp này cung cấp 39 phương thức để làm việc với các đối tượng Form trong các chương trình C++. Các phương thức khả dụng bao gồm: Add, AddFieldAppearance, AutoRecalculate, AutoRestoreForm, CalculatedFields, Count, DefaultAppearance, Delete, EmulateRequierdGroups, Fields, Flatten, Form, và 12 phương thức bổ sung. Tất cả các thành viên công khai có thể truy cập được bởi bất kỳ ứng dụng C++ nào sau khi cài đặt gói Aspose.PDF FOSS cho C++. Các phương thức truy cập: SignDependentElementsRenderingModeWhenConverted.

Phương thức truy cập

TênKiểuTruy cậpMô tả
SignDependentElementsRenderingModeWhenConvertedSignDependentElementsRenderingModesĐọc/GhiLấy hoặc đặt chế độ hiển thị các phần tử phụ thuộc dấu khi được chuyển đổi.

Phương thức

Chữ kýMô tả
Form()Gọi Form trên thể hiện Form này.
Delete(field: Field)Gọi Delete(field) trên thể hiện Form này.
Delete(fieldName: std::string)Gọi Delete(fieldName) trên đối tượng Form này.
Flatten()Gọi Flatten trên đối tượng Form này.
Add(field: Field, pageNumber: int)Gọi Add(field, pageNumber) trên đối tượng Form này.
Add(field: Field)Gọi Add(field) trên đối tượng Form này.
Add(field: Field, partialName: std::string, pageNumber: int) → FieldGọi Add(field, partialName, pageNumber) trên đối tượng Form này.
AddFieldAppearance(field: Field, pageNumber: int, rect: Aspose::Pdf::Rectangle)Gọi AddFieldAppearance(field, pageNumber, rect) trên đối tượng Form này.
RemoveFieldAppearance(field: Field, appearanceIndex: int)Gọi RemoveFieldAppearance(field, appearanceIndex) trên đối tượng Form này.
MakeFormAnnotationsIndependent(page: Aspose::Pdf::Page)Gọi MakeFormAnnotationsIndependent(page) trên đối tượng Form này.
HasField(field: Field) → boolGọi HasField(field) trên đối tượng Form này.
HasField(fieldName: std::string) → boolGọi HasField(fieldName) trên đối tượng Form này.
HasField(fieldName: std::string, searchChildren: bool) → boolGọi HasField(fieldName, searchChildren) trên đối tượng Form này.
GetFieldsInRect(rect: Aspose::Pdf::Rectangle) → std::vector<Field*>Gọi GetFieldsInRect(rect) trên đối tượng Form này.
AutoRecalculate() → boolGọi AutoRecalculate trên instance Form này.
AutoRecalculate(value: bool)Gọi AutoRecalculate(value) trên instance Form này.
AutoRestoreForm() → boolGọi AutoRestoreForm trên instance Form này.
AutoRestoreForm(value: bool)Gọi AutoRestoreForm(value) trên instance Form này.
Count() → intGọi Count trên thể hiện Form này.
DefaultAppearance() → Aspose::Pdf::Annotations::DefaultAppearanceGọi DefaultAppearance trên thể hiện Form này.
DefaultAppearance(value: Aspose::Pdf::Annotations::DefaultAppearance)Gọi DefaultAppearance(value) trên thể hiện Form này.
XFA() → Forms::XFAGọi XFA trên thể hiện Form này.
XFA() → Forms::XFA
IgnoreNeedsRendering() → boolGọi IgnoreNeedsRendering trên đối tượng Form này.
IgnoreNeedsRendering(value: bool)Gọi IgnoreNeedsRendering(value) trên đối tượng Form này.
RemovePermission() → boolGọi RemovePermission trên đối tượng Form này.
RemovePermission(value: bool)Gọi RemovePermission(value) trên đối tượng Form này.
EmulateRequierdGroups() → boolGọi EmulateRequierdGroups trên đối tượng Form này.
EmulateRequierdGroups(value: bool)Gọi EmulateRequierdGroups(value) trên đối tượng Form này.
NeedsRendering() → boolGọi NeedsRendering trên đối tượng Form này.
Type() → Forms::FormTypeGọi Type trên đối tượng Form này.
Type(value: Forms::FormType)Gọi Type(value) trên đối tượng Form này.
HasXfa() → boolTrả về true nếu xfa có mặt.
Fields() → std::vector<Field*>Gọi Fields trên đối tượng Form này.
CalculatedFields(value: std::vector<Field*>)Gọi CalculatedFields(value) trên đối tượng Form này.
SignaturesExist() → boolGọi SignaturesExist trên đối tượng Form này.
SignaturesExist(value: bool)Gọi SignaturesExist(value) trên đối tượng Form này.
SignaturesAppendOnly() → boolGọi SignaturesAppendOnly trên đối tượng Form này.
SignaturesAppendOnly(value: bool)Gọi SignaturesAppendOnly(value) trên đối tượng Form này.

Xem thêm

 Tiếng Việt