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 นี้.

ดูเพิ่มเติม

 ภาษาไทย