FormEditor
ภาพรวม
FormEditor เป็นคลาสใน Aspose.PDF FOSS สำหรับ C++.
คลาสนี้มีเมธอด 53 รายการสำหรับการทำงานกับอ็อบเจ็กต์ FormEditor ในโปรแกรม C++ . เมธอดที่มีให้รวมถึง: AddField, AddFieldScript, AddListItem, AddSubmitBtn, ConvertTo, CopyInnerField, CopyOuterField, DecorateField, DelListItem, DestFileName, ExportItems, Facade, และเมธอดเพิ่มเติมอีก 25 รายการ. สมาชิกสาธารณะทั้งหมดสามารถเข้าถึงได้โดยแอปพลิเคชัน C++ ใดก็ได้หลังจากติดตั้งแพ็กเกจ Aspose.PDF FOSS สำหรับ C++.
วิธีการ
| ลายเซ็น | คำอธิบาย |
|---|---|
FormEditor() | เรียก FormEditor บนอินสแตนซ์ FormEditor นี้. |
Save() | เรียก Save บนอินสแตนซ์ FormEditor นี้. |
AddField(fieldType: FieldType, fieldName: std::string, pageNum: int, llx: float, lly: float, urx: float, ury: float) → bool | เรียก AddField(fieldType, fieldName, pageNum, llx, lly, urx, ury) บนอินสแตนซ์ FormEditor นี้. |
AddField(fieldType: FieldType, fieldName: std::string, fieldId: std::string, pageNum: int, llx: float, lly: float, urx: float, ury: float) → bool | เรียก AddField(fieldType, fieldName, fieldId, pageNum, llx, lly, urx, ury) บนอินสแตนซ์ FormEditor นี้. |
RemoveField(fieldName: std::string) | เรียก RemoveField(fieldName) บนอินสแตนซ์ FormEditor นี้. |
SetFieldAttribute(fieldName: std::string, flag: PropertyFlag) → bool | ตั้งค่าค่าคุณลักษณะของฟิลด์. |
SetFieldAppearance(fieldName: std::string, flag: Aspose::Pdf::Annotations::AnnotationFlags) → bool | กำหนดค่ารูปลักษณ์ของฟิลด์. |
GetFieldAppearance(fieldName: std::string) → Aspose::Pdf::Annotations::AnnotationFlags | เรียก GetFieldAppearance(fieldName) บนอินสแตนซ์ FormEditor นี้. |
SetSubmitFlag(fieldName: std::string, flag: SubmitFormFlag) → bool | ตั้งค่าค่าแฟล็กการส่ง. |
SetSubmitUrl(fieldName: std::string, url: std::string) → bool | ตั้งค่าค่า URL การส่ง. |
SetFieldLimit(fieldName: std::string, fieldLimit: int) → bool | ตั้งค่าค่าขีดจำกัดของฟิลด์. |
SetFieldCombNumber(fieldName: std::string, combNumber: int) → bool | ตั้งค่าค่าตัวเลข comb ของฟิลด์. |
MoveField(fieldName: std::string, llx: float, lly: float, urx: float, ury: float) → bool | เรียก MoveField(fieldName, llx, lly, urx, ury) บนอินสแตนซ์ FormEditor นี้. |
SetFieldScript(fieldName: std::string, script: std::string) → bool | ตั้งค่าค่าของสคริปต์ฟิลด์. |
AddFieldScript(fieldName: std::string, script: std::string) → bool | เรียก AddFieldScript(fieldName, script) บนอินสแตนซ์ FormEditor นี้. |
Single2Multiple(fieldName: std::string) → bool | เรียก Single2Multiple(fieldName) บนอินสแตนซ์ FormEditor นี้. |
SetFieldAlignment(fieldName: std::string, alignment: int) → bool | กำหนดค่าการจัดตำแหน่งของฟิลด์. |
SetFieldAlignmentV(fieldName: std::string, alignment: int) → bool | ตั้งค่าการจัดแนวของฟิลด์เป็นค่า v. |
ResetFacade() | เรียก ResetFacade บนอินสแตนซ์ FormEditor นี้. |
ResetInnerFacade() | เรียก ResetInnerFacade บนอินสแตนซ์ FormEditor นี้. |
CopyInnerField(fieldName: std::string, newFieldName: std::string, pageNum: int) | เรียก CopyInnerField(fieldName, newFieldName, pageNum) บนอินสแตนซ์ FormEditor นี้. |
CopyInnerField(fieldName: std::string, newFieldName: std::string, pageNum: int, offsetX: float, offsetY: float) | เรียก CopyInnerField(fieldName, newFieldName, pageNum, offsetX, offsetY) บนอินสแตนซ์ FormEditor นี้. |
CopyOuterField(fieldName: std::string, newFieldName: std::string) | เรียก CopyOuterField(fieldName, newFieldName) บนอินสแตนซ์ FormEditor นี้. |
CopyOuterField(fieldName: std::string, newFieldName: std::string, pageNum: int) | เรียก CopyOuterField(fieldName, newFieldName, pageNum) บนอินสแตนซ์ FormEditor นี้. |
CopyOuterField(fieldName: std::string, newFieldName: std::string, pageNum: int, offsetX: float, offsetY: float) | เรียก CopyOuterField(fieldName, newFieldName, pageNum, offsetX, offsetY) บนอินสแตนซ์ FormEditor นี้. |
DecorateField(fieldName: std::string) | เรียก DecorateField(fieldName) บนอินสแตนซ์ FormEditor นี้. |
DecorateField(fieldType: FieldType) | เรียก DecorateField(fieldType) บนอินสแตนซ์ FormEditor นี้. |
DecorateField() | |
RenameField(fieldName: std::string, newFieldName: std::string) | เรียก RenameField(fieldName, newFieldName) บนอินสแตนซ์ FormEditor นี้. |
RemoveFieldAction(fieldName: std::string) | เรียก RemoveFieldAction(fieldName) บนอินสแตนซ์ FormEditor นี้. |
AddSubmitBtn(fieldName: std::string, pageNum: int, buttonName: std::string, url: std::string, llx: float, lly: float, urx: float, ury: float) | เรียก AddSubmitBtn(fieldName, pageNum, buttonName, url, llx, lly, urx, ury) บนอินสแตนซ์ FormEditor นี้. |
AddListItem(fieldName: std::string, item: std::string) | เรียก AddListItem(fieldName, item) บนอินสแตนซ์ FormEditor นี้. |
AddListItem(fieldName: std::string, items: std::vector<std::string>) | เรียก AddListItem(fieldName, items) บนอินสแตนซ์ FormEditor นี้. |
DelListItem(fieldName: std::string, item: std::string) | เรียก DelListItem(fieldName, item) บนอินสแตนซ์ FormEditor นี้. |
SrcFileName() → std::string | เรียก SrcFileName บนอินสแตนซ์ FormEditor นี้. |
SrcFileName(value: std::string) | เรียก SrcFileName(value) บนอินสแตนซ์ FormEditor นี้. |
DestFileName() → std::string | เรียก DestFileName บนอินสแตนซ์ FormEditor นี้. |
DestFileName(value: std::string) | เรียก DestFileName(value) บนอินสแตนซ์ FormEditor นี้. |
ConvertTo(value: Aspose::Pdf::PdfFormat) | เรียก ConvertTo(value) บนอินสแตนซ์ FormEditor นี้. |
Items() → std::vector<std::string> | เรียก Items บนอินสแตนซ์ FormEditor นี้. |
Items(value: std::vector<std::string>) | เรียก Items(value) บนอินสแตนซ์ FormEditor นี้. |
ExportItems() → std::vector<std::vector<std::string>> | เรียก ExportItems บนอินสแตนซ์ FormEditor นี้. |
ExportItems(value: std::vector<std::vector<std::string>>) | เรียก ExportItems(value) บนอินสแตนซ์ FormEditor นี้. |
Facade() → FormFieldFacade | เรียก Facade บนอินสแตนซ์ FormEditor นี้. |
Facade(value: FormFieldFacade) | เรียก Facade(value) บนอินสแตนซ์ FormEditor นี้. |
RadioGap() → float | เรียก RadioGap บนอินสแตนซ์ FormEditor นี้. |
RadioGap(value: float) | เรียก RadioGap(value) บนอินสแตนซ์ FormEditor นี้. |
RadioHoriz() → bool | เรียก RadioHoriz บนอินสแตนซ์ FormEditor นี้. |
RadioHoriz(value: bool) | เรียกใช้ RadioHoriz(value) บนอินสแตนซ์ FormEditor นี้. |
RadioButtonItemSize() → double | เรียกใช้ RadioButtonItemSize บนอินสแตนซ์ FormEditor นี้. |
RadioButtonItemSize(value: double) | เรียกใช้ RadioButtonItemSize(value) บนอินสแตนซ์ FormEditor นี้. |
SubmitFlag() → SubmitFormFlag | เรียกใช้ SubmitFlag บนอินสแตนซ์ FormEditor นี้. |
SubmitFlag(value: SubmitFormFlag) | เรียกใช้ SubmitFlag(value) บนอินสแตนซ์ FormEditor นี้. |