SetAPIOptions
Declaration
Delphi
procedure SetApiOptions(Options1, Options2: Integer); stdcall;
ActiveX
HRESULT _stdcall SetAPIOptions([in] long Options1, [in] long Options2);
Description
This method is optional and should only be used if really needed.
It sets different parameters of the API at runtime.
Â
Currently the following values for Options1 are possible: | ||
---|---|---|
API_OPTION1_STRETCH_SIGNATURE | 00000001h | Stretch graphical representation of signature to fit signature field rectangle |
API_OPTION1_SAVE_BIODATA | 00000002h | Save biometrical data together with signature image |
API_OPTION1_SAVE_DRAWDATA | 00000004h | Save draw data together with signature image |
API_OPTION1_LOCK_FORM_FIELDS | 00000008h | lock all form fields in document |
Default value for Option1 is (API_OPTION1_SAVE_BIODATA or API_OPTION1_SAVE_DRAWDATA).
Â
Options2 must be set to 0. |