THotPDF.SetLoadedFormFieldDefaultValue Method
The the the the the the the the The for the the the The for The til the in opp PDF the the the the the the the the The for the the the The for The til the in opp
Deklarasjon
procedure SetLoadedFormFieldDefaultValue(FieldIndex: Integer; const AValue: AnsiString);
Enhet
HPDFDoc
Parameter
| Navn | Formål |
|---|---|
FieldIndex | The the for the 0 the side the felt mål. |
AValue | For den nye standardstreng-verdien; overskriv den gamle standard-strengen med den nye i feltene |
The the the the the the the the The for the the the The for The til the in opp
- 设置默认值不会立即改变字段的当前显示值,需另外调用赋值方法才能同步更新当前内容
- 对于复选框字段,
AValue应为有效的选项导出值或Off,否则重置行为可能不符合预期 - 修改后需保存文档才能生效;与
ResetLoadedFormField配合可实现表单重置预设功能