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_SIGNATURE00000001hStretch graphical representation of signature to fit signature field rectangle
API_OPTION1_SAVE_BIODATA00000002hSave biometrical data together with signature image
API_OPTION1_SAVE_DRAWDATA00000004hSave draw data together with signature image
API_OPTION1_LOCK_FORM_FIELDS00000008hlock 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.