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ên | Kiểu | Truy cập | Mô tả |
|---|---|---|---|
SignDependentElementsRenderingModeWhenConverted | SignDependentElementsRenderingModes | Đọc/Ghi | Lấ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) → Field | Gọ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) → bool | Gọi HasField(field) trên đối tượng Form này. |
HasField(fieldName: std::string) → bool | Gọi HasField(fieldName) trên đối tượng Form này. |
HasField(fieldName: std::string, searchChildren: bool) → bool | Gọ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() → bool | Gọi AutoRecalculate trên instance Form này. |
AutoRecalculate(value: bool) | Gọi AutoRecalculate(value) trên instance Form này. |
AutoRestoreForm() → bool | Gọi AutoRestoreForm trên instance Form này. |
AutoRestoreForm(value: bool) | Gọi AutoRestoreForm(value) trên instance Form này. |
Count() → int | Gọi Count trên thể hiện Form này. |
DefaultAppearance() → Aspose::Pdf::Annotations::DefaultAppearance | Gọ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::XFA | Gọi XFA trên thể hiện Form này. |
XFA() → Forms::XFA | |
IgnoreNeedsRendering() → bool | Gọ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() → bool | Gọ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() → bool | Gọ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() → bool | Gọi NeedsRendering trên đối tượng Form này. |
Type() → Forms::FormType | Gọ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() → bool | Trả 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() → bool | Gọ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() → bool | Gọ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. |