Form

ภาพรวม

Form เป็นคลาสใน Aspose.PDF FOSS สำหรับ C++.

ฟิลด์กล่องข้อความของฟอร์มสามารถเพิ่มบาร์โค้ดโดยโปรแกรมโดยการเรียก AddBarcode(code) บนอินสแตนซ์ของ TextBoxField.

คลาสนี้ให้ 39 เมธอดสำหรับทำงานกับอ็อบเจ็กต์ Form ในโปรแกรม C++ เมธอดที่มีให้รวมถึง: Add, AddFieldAppearance, AutoRecalculate, AutoRestoreForm, CalculatedFields, Count, DefaultAppearance, Delete, EmulateRequierdGroups, Fields, Flatten, Form และเมธอดเพิ่มเติมอีก 12 รายการ สมาชิกสาธารณะทั้งหมดสามารถเข้าถึงได้จากแอปพลิเคชัน C++ ใดก็ได้หลังจากติดตั้งแพคเกจ Aspose.PDF FOSS สำหรับ C++ เมธอดตัวเข้าถึง: SignDependentElementsRenderingModeWhenConverted.

วิธีการเข้าถึง

ชื่อประเภทการเข้าถึงคำอธิบาย
SignDependentElementsRenderingModeWhenConvertedSignDependentElementsRenderingModesอ่าน/เขียนรับหรือกำหนดโหมดการเรนเดอร์ขององค์ประกอบที่ขึ้นกับเครื่องหมายเมื่อทำการแปลง.

วิธีการ

ลายเซ็นคำอธิบาย
Form()เรียก Form บนอินสแตนซ์ Form นี้.
Delete(field: Field)เรียก Delete(field) บนอินสแตนซ์ Form นี้.
Delete(fieldName: std::string)เรียก Delete(fieldName) บนอินสแตนซ์ Form นี้.
Flatten()เรียก Flatten บนอินสแตนซ์ Form นี้.
Add(field: Field, pageNumber: int)เรียก Add(field, pageNumber) บนอินสแตนซ์ Form นี้.
Add(field: Field)เรียก Add(field) บนอินสแตนซ์ Form นี้.
Add(field: Field, partialName: std::string, pageNumber: int) → Fieldเรียกใช้ Add(field, partialName, pageNumber) บนอินสแตนซ์ Form นี้.
AddFieldAppearance(field: Field, pageNumber: int, rect: Aspose::Pdf::Rectangle)เรียกใช้ AddFieldAppearance(field, pageNumber, rect) บนอินสแตนซ์ Form นี้.
RemoveFieldAppearance(field: Field, appearanceIndex: int)เรียกใช้ RemoveFieldAppearance(field, appearanceIndex) บนอินสแตนซ์ Form นี้.
MakeFormAnnotationsIndependent(page: Aspose::Pdf::Page)เรียกใช้ MakeFormAnnotationsIndependent(page) บนอินสแตนซ์ Form นี้.
HasField(field: Field) → boolเรียก HasField(field) บนอินสแตนซ์ Form นี้.
HasField(fieldName: std::string) → boolเรียก HasField(fieldName) บนอินสแตนซ์ Form นี้.
HasField(fieldName: std::string, searchChildren: bool) → boolเรียก HasField(fieldName, searchChildren) บนอินสแตนซ์ Form นี้.
GetFieldsInRect(rect: Aspose::Pdf::Rectangle) → std::vector<Field*>เรียก GetFieldsInRect(rect) บนอินสแตนซ์ Form นี้.
AutoRecalculate() → boolเรียก AutoRecalculate บนอินสแตนซ์ Form นี้.
AutoRecalculate(value: bool)เรียก AutoRecalculate(value) บนอินสแตนซ์ Form นี้.
AutoRestoreForm() → boolเรียก AutoRestoreForm บนอินสแตนซ์ Form นี้.
AutoRestoreForm(value: bool)เรียก AutoRestoreForm(value) บนอินสแตนซ์ Form นี้.
Count() → intเรียก Count บนอินสแตนซ์ Form นี้.
DefaultAppearance() → Aspose::Pdf::Annotations::DefaultAppearanceเรียก DefaultAppearance บนอินสแตนซ์ Form นี้.
DefaultAppearance(value: Aspose::Pdf::Annotations::DefaultAppearance)เรียก DefaultAppearance(value) บนอินสแตนซ์ Form นี้.
XFA() → Forms::XFAเรียก XFA บนอินสแตนซ์ Form นี้.
XFA() → Forms::XFA
IgnoreNeedsRendering() → boolเรียก IgnoreNeedsRendering บนอินสแตนซ์ Form นี้.
IgnoreNeedsRendering(value: bool)เรียก IgnoreNeedsRendering(value) บนอินสแตนซ์ Form นี้.
RemovePermission() → boolเรียก RemovePermission บนอินสแตนซ์ Form นี้.
RemovePermission(value: bool)เรียก RemovePermission(value) บนอินสแตนซ์ Form นี้.
EmulateRequierdGroups() → boolเรียก EmulateRequierdGroups บนอินสแตนซ์ Form นี้.
EmulateRequierdGroups(value: bool)เรียก EmulateRequierdGroups(value) บนอินสแตนซ์ Form นี้.
NeedsRendering() → boolเรียก NeedsRendering บนอินสแตนซ์ Form นี้.
Type() → Forms::FormTypeเรียกใช้ Type บนอินสแตนซ์ Form นี้.
Type(value: Forms::FormType)เรียกใช้ Type(value) บนอินสแตนซ์ Form นี้.
HasXfa() → boolคืนค่า true หากมี xfa อยู่.
Fields() → std::vector<Field*>เรียกใช้ Fields บนอินสแตนซ์ Form นี้.
CalculatedFields(value: std::vector<Field*>)เรียก CalculatedFields(value) บนอินสแตนซ์ Form นี้.
SignaturesExist() → boolเรียก SignaturesExist บนอินสแตนซ์ Form นี้.
SignaturesExist(value: bool)เรียก SignaturesExist(value) บนอินสแตนซ์ Form นี้.
SignaturesAppendOnly() → boolเรียก SignaturesAppendOnly บนอินสแตนซ์ Form นี้.
SignaturesAppendOnly(value: bool)เรียก SignaturesAppendOnly(value) บนอินสแตนซ์ Form นี้.

ดูเพิ่มเติม

 ภาษาไทย