SetSignProcessAppearanceVariable

Security and signatures

Description

Adds, replaces, or removes a custom dynamic value used by a visible signature appearance template

Syntax

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);

Parameters

SignProcessIDValue returned by a NewSignProcessFrom* function
NameCase-insensitive placeholder name of up to 64 ASCII letters, digits, underscores, periods, or hyphens
ValueReplacement text of up to 8192 characters, or an empty string to remove the variable

Return values

1The custom value was updated or removed
0The process id, name, value length, or variable capacity was invalid

Remarks

Built-in names are reserved and cannot be replaced

A sign process stores up to 128 custom values and releases them with the process

See also

SetSignProcessAppearanceTemplate