Skip to end of metadata
Go to start of metadata

Declaration

Delphi

procedure SetLanguage(const ALanguage: PAnsiChar); stdcall;

ActiveX

HRESULT _stdcall SetLanguage([in] BSTR Language);

 

Description

You can set the language of the API by using this procedure. The default language is English.

The language is used for the registration engine and for some other strings. For example, if you set showNameAndDate in the method AddSignature, the texts "Signed by:" and "Reason of signing:" will be added to the document in the set language.

Important:

Call this before you call LoadDoc for the first time. You can change the language during runtime, if you like.

 

Arguments

ArgumentDescription
LanguageYou may use the following strings to set the language:
  • D = German
  • GB = English
  • ES = Spanish
  • PL = Polish

 

 

C# sample

AddSignature
// Set Language to German
          
SignAPIv4.SetLanguage("D");

 

 

 

  • No labels