dynamsoft.dcsEnv.setLanguage()

Description

Sets the language displayed in the camera authorization dialog.

Syntax

dynamsoft.dcsEnv.setLanguage(iValue);

Parameters

<EnumDCS_Language> iValue: the value to set.

Language Enumerated Value
English EnumDCS_Language.English
French EnumDCS_Language.French
Arabic EnumDCS_Language.Arabic
Spanish EnumDCS_Language.Spanish
Portuguese EnumDCS_Language.Portuguese
German EnumDCS_Language.German
Italian EnumDCS_Language.Italian
Chinese EnumDCS_Language.Chinese

Return value

bool

true indicates success. false indicates failure.

Remarks

Call this method before dynamsoft.dcsEnv.init().

Example


dynamsoft.dcsEnv.setLanguage(EnumDCS_Language.Chinese);