VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Shared Namespace / VintasoftLocalizationJS type / setStringConstant Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
setStringConstant Method
In This Topic
Sets the string constant for localization.
Syntax
var instance = new Vintasoft.Shared.VintasoftLocalizationJS();

var value; // Type: any

// Parameters
var id; // Type: string
var value; // Type: string

value = instance.setStringConstant(id, value);

Parameters

id
The identifier of string constant.
value
The string constant that should be localized.
Exceptions
ExceptionDescription
Thrown if value is not a string or empty string.
Browser Compatibility
56+
45+
11
See Also