pdftk dump_data_fields不包含复选框标签

时间:2016-10-17 12:13:39

标签: php pdf checkbox pdftk

我正在使用 [HttpPost] [WebMethod] public void InsertScore(string Email ,string Row,char Answer) { if(Answer=='d') { ViewBag.m="Hot"; } if (Answer == 'r') { ViewBag.m="Cold"; } } 从我的可编辑PDF转储数据字段。我想获取复选框字段名称,或者您可以说复选框的标签。问题是pdftk生成的文件没有返回确切的复选框标签;相反,它显示了复选框说明。

例如:

dump_data_fields

PDF文档中这两个复选框的真实标签是FieldType: Button FieldName: ResidentialStructure_Basement_FoundationFinishedIndicator_A FieldNameAlt: Check the box (if applicable): Indicates the basement/recreation room is finished. FieldFlags: 8388608 FieldJustification: Left FieldStateOption: 1 FieldStateOption: Off --- FieldType: Button FieldName: ResidentialStructure_Basement_FoundationWalkOutIndicator_A FieldNameAlt: Check the box (if applicable): Indicates the basement/recreation room is a walk out. FieldFlags: 8388608 FieldJustification: Left FieldStateOption: 1 FieldStateOption: Off finished,但我们只会在walk outFieldName中获得这些复选框的说明。

有没有办法使用FieldNameAltdump_data_fields的任何其他属性获取确切的复选框标签?

0 个答案:

没有答案