我正在使用 [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 out
和FieldName
中获得这些复选框的说明。
有没有办法使用FieldNameAlt
或dump_data_fields
的任何其他属性获取确切的复选框标签?