SetSignProcessAppearanceVariable
安全和签名
描述
添加、替换或移除可见签名外观模板使用的自定义动态值
语法
Delphi
Function TPDFlib.SetSignProcessAppearanceVariable(SignProcessID: Integer; Const Name, Value: WideString): Integer;
ActiveX
Function PDFlib::SetSignProcessAppearanceVariable(SignProcessID As Long, Name As String, Value As String) As Long
DLL
int DLSetSignProcessAppearanceVariable(int InstanceID, int SignProcessID, const wchar_t * Name, const wchar_t * Value);
参数
| SignProcessID | 由 NewSignProcessFrom* 函数返回的值 |
|---|---|
| Name | 最多包含 64 个 ASCII 字母、数字、下划线、句点或连字符的大小写不敏感占位符名称 |
| Value | 最多 8192 个字符的替换文本,或传递空字符串以移除变量 |
返回值
| 1 | 自定义值已更新或删除 |
|---|---|
| 0 | 进程 ID、名称、值长度或变量容量无效 |
备注
内置名称为保留名称,不能替换
签名流程最多存储 128 个自定义值,并随流程一同释放